Untitled
unknown
plain_text
a year ago
1.9 kB
3
Indexable
Never
VM: 23 Syslog File Location: /var/log/syslog/Testing/LONSTBYRDEV02-10.72.209.183.log Retention Period: 7 Bookmark Index: 1 Purging Logs... Bookmark Line: 2023-05-07T04:34:53+00:00 LONSTBYRDEV02 tag_audit_log: type=CRYPTO_KEY_USER msg=audit(1683430484.976:64782642): pid=6017 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:52:20:97:9b:f7:10:57:a8:f2:ee:49:ca:76:0c:60:17:68:e1:36:0a:74:99:a4:72:83:a8:50:11:5b:02:89:36 direction=? spid=6017 suid=0 exe="/usr/sbin/sshd" hostname=? addr=10.72.208.221 terminal=? res=success' Bookmark TImestamp : 2023-05-07T04:34:53+00:00 Bookmark Date : 2023-05-07 Current Date: 2023-05-25 Purging Date : 2023-05-18 Purging is not needed. Traceback (most recent call last): File "/home/CAPEUSER/Python/python-3.10.10/lib/python3.10/shutil.py", line 816, in move os.rename(src, real_dst) FileNotFoundError: [Errno 2] No such file or directory: '/var/log/syslog/Testing/LONSTBYRDEV02-10.72.209.183.log.tmp' -> '/var/log/syslog/Testing/LONSTBYRDEV02-10.72.209.183.log' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/App/jar/KPI/syslog_purging_new.py", line 164, in <module> purge_logs() File "/App/jar/KPI/syslog_purging_new.py", line 154, in purge_logs shutil.move(temp_file, syslog_file) File "/home/CAPEUSER/Python/python-3.10.10/lib/python3.10/shutil.py", line 836, in move copy_function(src, real_dst) File "/home/CAPEUSER/Python/python-3.10.10/lib/python3.10/shutil.py", line 434, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/home/CAPEUSER/Python/python-3.10.10/lib/python3.10/shutil.py", line 254, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: '/var/log/syslog/Testing/LONSTBYRDEV02-10.72.209.183.log.tmp'