Skip to content
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

Add LogglyHandler support, refs #4 #63

Merged
merged 1 commit into from
Jan 19, 2014
Merged

Add LogglyHandler support, refs #4 #63

merged 1 commit into from
Jan 19, 2014

Conversation

hason
Copy link
Contributor

@hason hason commented Dec 23, 2013

No description provided.

@@ -322,6 +327,22 @@ public function getConfigTreeBuilder()
->booleanNode('persistent')->end() // socket_handler
->scalarNode('dsn')->end() // raven_handler
->scalarNode('message_type')->defaultValue(0)->end() // error_log
->variableNode('tags') // loggly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't make it a variableNode. Make it a prototyped array node (the prototype being a scalar node), and only keep the beforeNormalization turning strings into an array.
This way, the tags node will be normalized to always be an array after parsing the config

@stof
Copy link
Member

stof commented Dec 24, 2013

The XSD schema needs to be updated as well

Seldaek added a commit that referenced this pull request Jan 19, 2014
Add LogglyHandler support, refs #4
@Seldaek Seldaek merged commit 3aa3307 into symfony:master Jan 19, 2014
@Seldaek
Copy link
Member

Seldaek commented Jan 19, 2014

Thanks!

@hason hason deleted the loggly branch May 26, 2014 14:26
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.

None yet

3 participants