Skip to content

Make the log file name configurable and include timestamp by default#480

Merged
rbs-jacob merged 3 commits into
redballoonsecurity:masterfrom
ANogin:feature/configurable_log_file
Jul 9, 2024
Merged

Make the log file name configurable and include timestamp by default#480
rbs-jacob merged 3 commits into
redballoonsecurity:masterfrom
ANogin:feature/configurable_log_file

Conversation

@ANogin
Copy link
Copy Markdown
Contributor

@ANogin ANogin commented Jul 4, 2024

One sentence summary of this PR (This should go in the CHANGELOG!)
By default, the ofrak log is now ofrak-YYYYMMDDhhmmss.log rather than just ofrak.log and the name can be specified on the command line.

Link to Related Issue(s)
#311

Please describe the changes in your request.
See summary

Anyone you think should look at this, specifically?
@whyitfor maybe?

@whyitfor whyitfor requested a review from rbs-jacob July 9, 2024 21:06
Copy link
Copy Markdown
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change seems fairly straightforward and makes sense to me.

One thing I want to point out (for @whyitfor in particular) is that this changes a top-level API, and may necessitate a major version bump in OFRAK. The argument added to the OFRAK initializer is optional, so it shouldn't really break anything, nor should tha block this from being merged. Just wanted to highlight that we should bump semver on the next tagged release.

Comment thread ofrak_core/ofrak/cli/ofrak_cli.py Outdated
Comment thread ofrak_core/ofrak/cli/ofrak_cli.py
Co-authored-by: Jacob Strieb <99368685+rbs-jacob@users.noreply.github.com>
@ANogin ANogin requested a review from rbs-jacob July 9, 2024 21:19
@rbs-jacob rbs-jacob merged commit 56aeb67 into redballoonsecurity:master Jul 9, 2024
ANogin pushed a commit to ANogin/ofrak that referenced this pull request Aug 20, 2024
…edballoonsecurity#480)

* Make the log file name configurable and include timestamp by default

* Add a changelog entry

* Fix a help string typo

Co-authored-by: Jacob Strieb <99368685+rbs-jacob@users.noreply.github.com>

---------

Co-authored-by: Jacob Strieb <99368685+rbs-jacob@users.noreply.github.com>
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.

2 participants