-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Handle syslog writing from the command line #9513
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this submission!
Added a couple of comments.
Hello joejuzl, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Thanks for making those changes, I think the CLI flag makes sense.
Can you add a changelog please?
Also, the CI will now run, so you may have to fix some tests and code style issues.
Hi Joe, I just added a few things to the pull request. As you said the use of "/dev/log" was a problem with system compatibility. Using the UDP communication with the local syslog server is the way you can manage this OS issue. It will be very useful for production purposes. I also manage a few pipeline error. I will do the changelog after your response :) Looking forward to reading from you. |
Hi @PaulNewtech |
Hi @joejuzl , I hope it will be good with this fix. |
The code quality test is failing. Try running Also for tests you can run |
Hey @PaulNewtech do you think you'll find time to finalise this? |
Hi @joejuzl |
Please make sure to run
Codeclimate is not a required check right now - so that's ok. |
Thank you ! |
Hey @joejuzl , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🚀 🚀
Thanks for putting in all the work to get it merged! 🔥 |
Thank you @joejuzl ! |
* Handle syslog writing from the command line * add an arg in the command line to use syslog * respect standards * line was too long * new arg for command line * add sanic logs to syslog * del useless statement * quick fix * too many blank line * Use default communication with syslog * possibility to use a syslog server * fix indent * Fix for constants access * fix typo Co-authored-by: Joe Juzl <joejuzl@gmail.com> * fix typo * fix for constant definition in bad file * Black linter compliant * Function add_server_arguments had 26 lines of code (exceeds 25 allowed). * fix for bad merge * for lint compliance * add required param * adapt test for log enhancement Co-authored-by: Joe Juzl <joejuzl@gmail.com>
* Handle syslog writing from the command line * add an arg in the command line to use syslog * respect standards * line was too long * new arg for command line * add sanic logs to syslog * del useless statement * quick fix * too many blank line * Use default communication with syslog * possibility to use a syslog server * fix indent * Fix for constants access * fix typo Co-authored-by: Joe Juzl <joejuzl@gmail.com> * fix typo * fix for constant definition in bad file * Black linter compliant * Function add_server_arguments had 26 lines of code (exceeds 25 allowed). * fix for bad merge * for lint compliance * add required param * adapt test for log enhancement Co-authored-by: Joe Juzl <joejuzl@gmail.com>
Proposed changes:
rasa run
command line