-
Notifications
You must be signed in to change notification settings - Fork 7
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
Nr 318119 auto collect stdout & stderr logs #320
base: develop
Are you sure you want to change the base?
Conversation
Agent/Utilities/NRLogger.m
Outdated
@@ -346,7 +357,6 @@ - (NSData*) jsonDictionary:(NSDictionary*)message { | |||
|
|||
|
|||
NSMutableDictionary *providedAttributes = [message mutableCopy]; | |||
[providedAttributes removeObjectsForKeys:@[NRLogMessageLevelKey,NRLogMessageFileKey,NRLogMessageLineNumberKey,NRLogMessageMethodKey,NRLogMessageTimestampKey,NRLogMessageMessageKey]]; |
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.
The intention of this line is to remove reserved attributes from user provided attributes when passed to NewRelic.logAttributes.
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.
Do you still want to remove this line? If so can you explain why?
… look further into it
|
||
|
||
// Note: Disabled by default. Enable or disable (default) flag to enable auto collect of stdout. | ||
//NewRelic.enableFeatures([NRMAFeatureFlags.NRFeatureFlag_RedirectStdOutStdErr]) |
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.
Sounds like John would like AutoCollectedLogs to be on by default. But we should double check with him and Android.
…orrectly." This reverts commit 28790a5.
…ct if remote logging is enabled
No description provided.