Update export statistics

This commit is contained in:
bot 2024-12-17 12:10:02 +00:00
parent e8b0797ebe
commit 5d74e4f108
5 changed files with 7 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@ logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG) # Set the logging level logger.setLevel(logging.DEBUG) # Set the logging level
# Create a file handler # Create a file handler
file_handler = logging.FileHandler('app.log') file_handler = logging.FileHandler("app.log")
file_handler.setLevel(logging.DEBUG) # Set the level for this handler file_handler.setLevel(logging.DEBUG) # Set the level for this handler
# Create a console handler (optional, for logging to the console too) # Create a console handler (optional, for logging to the console too)
@ -13,7 +13,7 @@ console_handler = logging.StreamHandler()
console_handler.setLevel(logging.INFO) console_handler.setLevel(logging.INFO)
# Create a logging format # Create a logging format
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
file_handler.setFormatter(formatter) file_handler.setFormatter(formatter)
console_handler.setFormatter(formatter) console_handler.setFormatter(formatter)

View File

@ -2,3 +2,7 @@
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger \([+,(,0-9,),-]{7,} matched! 2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger \([+,(,0-9,),-]{7,} matched!
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched! 2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched! 2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:10:01,169 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:10:01,169 - ragnar - INFO - Regex trigger \([+,(,0-9,),-]{7,} matched!
2024-12-17 12:10:01,169 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:10:01,170 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!

View File

@ -1,8 +1,7 @@
import logging import logging
import sys import sys
file_handler = logging.FileHandler("ragnar.log")
file_handler = logging.FileHandler('ragnar.log')
file_handler.setLevel(logging.DEBUG) file_handler.setLevel(logging.DEBUG)
logging.basicConfig( logging.basicConfig(