Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapt code to show passed arguments in log-file
Browse files Browse the repository at this point in the history
security-companion committed Jan 11, 2025
1 parent 687e211 commit 01bf0be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loki.py
Original file line number Diff line number Diff line change
@@ -1557,6 +1557,8 @@ def main():
logger.log("NOTICE", "Init", "Starting Loki Scan VERSION: {3} SYSTEM: {0} TIME: {1} PLATFORM: {2}".format(
getHostname(os_platform), getSyslogTimestamp(), getPlatformFull(), logger.version))

logger.log("NOTICE", "Init", "Passed arguments: {}".format(sys.argv))

# Loki
loki = Loki(args.intense)

0 comments on commit 01bf0be

Please sign in to comment.