You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry @emabee that I disturbing you again. Thank you that you have merge and optimize my pull request.
The only sad thing is now, that: when you want a empty current_infix the logic adds a _ to the basename. For example:
let writer = FileLogWriter::builder(FileSpec::default().suppress_timestamp().basename("ffplayout")).append().rotate(Criterion::Age(Age::Day),Naming::TimestampsCustomFormat{current_infix:Some(""),format:"%Y-%m-%d",},Cleanup::KeepLogFiles(7),)
Gives a file: ./ffplayout_.log. My goal was to just get : ./ffplayout.log, that is the normal behavior most programs in linux logs to /var/log/.
The text was updated successfully, but these errors were encountered:
Sorry @emabee that I disturbing you again. Thank you that you have merge and optimize my pull request.
The only sad thing is now, that: when you want a empty current_infix the logic adds a _ to the basename. For example:
Gives a file:
./ffplayout_.log
. My goal was to just get :./ffplayout.log
, that is the normal behavior most programs in linux logs to/var/log/
.The text was updated successfully, but these errors were encountered: