Skip to content

MM-45 Improved --file flag to log all logs including info logs and com… - #2586

Draft
mkanadi-ks wants to merge 1 commit into
releasefrom
feature/write-command-logs-to-file-dev
Draft

mkanadi-ks wants to merge 1 commit into
releasefrom
feature/write-command-logs-to-file-dev

Conversation

@mkanadi-ks

Copy link
Copy Markdown
Contributor

Improvements -

  • improved --file flag to capture all system logs (including INFO logs) and user-executed commands in a file.
  • Append a clear "Session Start" marker to the file at the beginning of each run to easily distinguish between separate executions.
  • Record every executed command in the log file for auditing purposes.
  • Mask sensitive data by logging only the command and option names, ensuring passwords and argument values are never written to disk.
  • Create default keeper.log file in case user do not provide custom filename.(create keeper_<date>_<time>.log if keeper.log already exists)

…mand that user inserted into a file. (#2574)

* MM-45
Improved--file flag to log all logs including info logs and command that user inserted into a file.

* MM-45
Minor changes to support python 3.9

* update log file generation

* MM-45 Updated the test cases.

* Refactor logging functionality and clean up unused code in CLI module

* Implement code changes to enhance functionality and improve performance

---------

Co-authored-by: Aditya J. <ajaiswal@keepersecurity.com>
@mkanadi-ks mkanadi-ks changed the title MM-45 Improved--file flag to log all logs including info logs and com… MM-45 Improved --file flag to log all logs including info logs and com… Nov 27, 2026
@ajaiswal-ks
ajaiswal-ks marked this pull request as draft November 30, 2026 06:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant