-
Notifications
You must be signed in to change notification settings - Fork 143
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
Where can I find phpcensor logs. #59
Labels
Comments
ketchoop
changed the title
Where I can find phpcensor logs.
Where can I find phpcensor logs.
Apr 10, 2017
You need to create <?php
return [
/** Loggers attached to every command */
"_" => function() {
return [
new \Monolog\Handler\StreamHandler(RUNTIME_DIR . 'errors.log', \Monolog\Logger::ERROR),
];
}
]; It should helps you. |
I will plan to remove this ugly config and move logging settings to main application config. |
corpsee
added a commit
that referenced
this issue
May 23, 2017
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not obvious. For example, I've got error about database and I can see it, when I try to create new admin, but, you know, it shouldn't be this way :). I know, it's silly question but, It's harmful to get into source code and try to find out where logger is configured.
The text was updated successfully, but these errors were encountered: