-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix the XML config and add the corresponding PHP config #3206
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
Conversation
xabbuh
commented
Nov 18, 2013
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | all |
Fixed tickets |
@@ -50,14 +59,32 @@ To do so, just create a new handler and configure it like this: | |||
</monolog:channels> | |||
</monolog:handler> | |||
|
|||
<monolog:handler name="doctrine" type="stream" path="/var/log/doctrine.log" /> | |||
<monolog:handler name="doctrine" type="stream" path="/var/log/doctrine.log"> | |||
<monolog:channels> | |||
<type>inclusive</type> |
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.
This is also wrong. It should be a type
attribute, not a type
child element
the xml does not correspond the Yaml and PHP config at all... |
Hope I fixed all the errors. |
<type>exclusive</type> | ||
<channel>doctrine</channel> | ||
<monolog:channels type="exclusive"> | ||
<monolog:channel>doctrine</monolog:channel> |
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.
should be !doctrine
, and no type=exclusive
Looks good now but fixing the "Yaml specification" paragraph below your changes would be good for clarity as well. I would just wipe this part because it adds confusion and isn't correct:
|
fix the XML config and add the corresponding PHP config
Thanks everyone! |