Skip to content

lib: Add manager logs to separate files under tmp #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VyacheslavSalnikov
Copy link

Added ability for OpenSync managers write logs to /tmp/.log instead of /var/log/user

Test:
Need to create file /nvram/opensync_tmp_logging and on next OpenSync start we'll have /tmp/opensync.<>.log files.
Need to note it's pure debug feature - logs written to tmpfs get big enough fast, see below stats captured at 8 min of running after boot.
Need to note also, that logs will be still coming to /var/log/user.

Added ability for OpenSync managers write logs to /tmp/<manager name>.log instead of /var/log/user

Test:
   Need to create file /nvram/opensync_tmp_logging and on next OpenSync start we'll have /tmp/opensync.<<Manager-Name>>.log files.
   Need to note it's pure debug feature - logs written to tmpfs get big enough fast, see below stats captured at 8 min of running after boot.
   Need to note also, that logs will be still coming to /var/log/user.

Signed-off-by: Vyacheslav Salnikov <[email protected]>
@dejan-pojbic-plume
Copy link
Contributor

Thanks for contribution and we are reviewing internally.

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