I’m creating a custom command, and I want to use a different log file.
In the docs it says that I have to tag my service. But my custom command isn’t a service, is it? Should I make it a service?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First I pushed NullHandler to invalidate the other handlers. Then I added one handler for info messages
, and another one for all messages, that only triggers if there is a warning, error, etc.