How to turn off logging?
See original GitHub issueYour Environment
-
Plugin version: 2.3.6 (all versions)
-
Platform: Android
-
OS version: Android 9
-
Device manufacturer and model: Samsung
-
Running in Simulator: no (real device)
-
Cordova version (
cordova -v
): 7.1.0 -
Cordova platform version (
cordova platform ls
): Android 7.1.0
Context
Package com.marianhello.logging logs every event to SQL DB. For half a year of using the application (with plugin cordova-plugin-background-geolocation) - the log specifically had logback.db size of 11 GB. There is some way to turn off logging? for example, to limit writing to DB (days, count of records), or even better to select a given logLevel…
Expected Behavior
Possibility to set logging level or complete shutdown.
Actual Behavior
Write everything and increase db
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
python - How to disable logging on the standard error stream?
I found a solution for this: logger = logging.getLogger('my-logger') logger.propagate = False # now if you use logger it will not log to...
Read more >How to disable logging from imported modules in Python?
To disable logging from imported modules in Python we need to use the getLogger() function. The getLogger() function. The name of the logger...
Read more >Enabling and disabling logging - IBM
Under Request Metrics Destination, select the Standard Logs check box to enable the logging feature. To disable the logging , clear the Standard...
Read more >Disable Logging Events to the Windows Application Log
Under General, clear the Enable Event Logging to Windows Application Log check box. Choose the Save button, and then choose the OK button....
Read more >Python Examples of logging.disable - ProgramCreek.com
The following are 30 code examples of logging.disable(). You can vote up the ones you like or vote down the ones you don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
background-geolocation-android/src/main/java/com/marianhello/logging/LoggerManager.java // line 41
root.setLevel(Level.TRACE); // root.setLevel(Level.OFF);
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn’t be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it’s important. Thank you for your contributions.