-
Notifications
You must be signed in to change notification settings - Fork 244
Boost Logger Implementation #3571
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e568cdb
Implement 3rd-party Boost logger
ShobhitAd e667a6e
Add boost log config file
ShobhitAd a7eb1ec
Implement log filtering and formatting for the different sinks
ShobhitAd dbdb051
Fix Timestamp calculation
ShobhitAd 8b56d29
Fix function trace string
ShobhitAd 671a43d
Implement setting to disable particular sinks
ShobhitAd 4b6fa29
Add append option to file sinks
ShobhitAd 2ab4db0
Telnet logger configuration
ShobhitAd ec45a00
Add cmake flag to switch beetween loggers
ShobhitAd c65ae84
Remove log4cxx appender include
ShobhitAd dc42a87
Style fix
ShobhitAd 74d35c2
Modify BoostLogConfig file for tests to match the log4cxx properties …
ShobhitAd 5731406
Exclude log4cxx related libraries
ShobhitAd 3186045
Address review comments
ShobhitAd f7f7ac3
Add changes to only install boost log if the correct LOGGER_NAME is set
ShobhitAd 17a4d07
Fix implementation for removing disabled sinks
ShobhitAd 7cdb2c5
Add note for isEnabledFor function
ShobhitAd 40184cc
Address review comment
ShobhitAd 577c284
Merge branch 'develop' into feature/boost_logger_implementation
ShobhitAd bdb6bac
Fix smartobject linking error
ShobhitAd 770ef06
Address review comments
ShobhitAd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Core settings | ||
[Core] | ||
DisableLogging=false | ||
|
||
# Console Logging | ||
[Sinks.Console] | ||
DisableLogging=true | ||
Destination=Console | ||
Filter="%Severity% >= debug" | ||
Format="%Severity% [%TimeStamp%][%Component%] %Message%" | ||
AutoFlush=true | ||
Asynchronous=true | ||
|
||
# SDL log file | ||
[Sinks.AllMessages] | ||
DisableLogging=false | ||
Destination=TextFile | ||
FileName=SmartDeviceLinkCore.log | ||
Append=true | ||
Format="%Severity% [%TimeStamp%][%ThreadId%][%Component%] %FileName%:%LineNum% %Trace%: %Message%" | ||
AutoFlush=true | ||
Asynchronous=true | ||
|
||
# Log file for all TransportManager messages | ||
[Sinks.TransportManager] | ||
DisableLogging=false | ||
Destination=TextFile | ||
FileName=TransportManager.log | ||
Append=false | ||
Filter="%Component% = TransportManager" | ||
Format="%Severity% [%TimeStamp%][%ThreadId%][%Component%] %FileName%:%LineNum% %Trace%: %Message%" | ||
AutoFlush=true | ||
Asynchronous=true | ||
|
||
# Log file for handling Ford protocol info (include ProtocolHandler, ConnectionHandler, SecurityManager) | ||
[Sinks.ProtocolFordHandling] | ||
DisableLogging=false | ||
Destination=TextFile | ||
FileName=ProtocolFordHandling.log | ||
Append=false | ||
Filter="%Component% = ConnectionHandler or %Component% = HeartBeatMonitor or %Component% = ProtocolHandler or %Component% = SecurityManager" | ||
Format="%Severity% [%TimeStamp%][%Component%] %Trace%: %Message%" | ||
AutoFlush=true | ||
Asynchronous=true | ||
|
||
[Sinks.Telnet] | ||
DisableLogging=true | ||
Destination=Syslog | ||
Asynchronous=true | ||
Format="%Severity% [%TimeStamp%][%ThreadId%][%Component%] %FileName%:%LineNum% %Trace%: %Message%" | ||
LocalAddress="http://127.0.0.1:6676/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.