-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Build for prod will log Warn level and above (MAPCO-8808) #35
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
Open
baruchInsert-tech
wants to merge
18
commits into
master
Choose a base branch
from
feature/MAPCO-8808-Prod-Build-log-Warn-level
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2b30edc
Build for prod will log Warn level and above
baruchInsert-tech c8fe8b4
change all appenders
baruchInsert-tech b2f7ccf
change to Level.Debug
baruchInsert-tech fe786f0
format file
baruchInsert-tech 14b3f71
add force min log level
baruchInsert-tech ae7bc7d
Merge branch 'master' into feature/MAPCO-8808-Prod-Build-log-Warn-level
baruchInsert-tech dd111e9
add min log level for console, http and file
baruchInsert-tech bbaef0c
format file
baruchInsert-tech 4965363
add settings
baruchInsert-tech 1811e32
add force logic
baruchInsert-tech c439d15
remove comments
baruchInsert-tech 99c5387
format
baruchInsert-tech 53ba001
format file
baruchInsert-tech b149cb3
add const
baruchInsert-tech bb4f40b
change after reveiw
baruchInsert-tech aa657c6
remove new aync method
baruchInsert-tech be54f2b
Merge branch 'master' into feature/MAPCO-8808-Prod-Build-log-Warn-level
baruchInsert-tech e58e912
pr changes
baruchInsert-tech 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
14 changes: 0 additions & 14 deletions
14
Assets/com.mapcolonies.core/Services/LoggerService/Config.cs
This file was deleted.
Oops, something went wrong.
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
68 changes: 68 additions & 0 deletions
68
Assets/com.mapcolonies.core/Services/LoggerService/LoggerSettings.cs
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,68 @@ | ||
| using System; | ||
|
|
||
| namespace com.mapcolonies.core.Services.LoggerService | ||
| { | ||
| [Serializable] | ||
| public record LoggerSettings | ||
| { | ||
| public string Log4NetConfigXml | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public int StackTraceRowLimit | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public bool ServiceEnabled | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public bool ConsoleEnabled | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public string MinConsoleLogLevel | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public string MinFileLogLevel | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public string MinHttpLogLevel | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public bool ForceMinLogLevel | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public string HttpEndpointUrl | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
|
|
||
| public string HttpPersistenceDirectory | ||
| { | ||
| get; | ||
| set; | ||
| } | ||
| } | ||
| } |
File renamed without changes.
Oops, something went wrong.
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.