[loggers]
keys=root,LiteLLM,py_warnings,solace_ai_connector,uvicorn,uvicorn_error,uvicorn_access

[handlers]
keys=streamHandler,rotatingFileHandler

[formatters]
keys=simpleFormatter

[logger_root]
level=DEBUG
handlers=streamHandler,rotatingFileHandler
qualname=root

[handler_streamHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)

[logger_LiteLLM]
level=DEBUG
handlers=streamHandler,rotatingFileHandler
qualname=LiteLLM
propagate=0

[logger_py_warnings]
level=WARNING
handlers=streamHandler,rotatingFileHandler
qualname=py.warnings
propagate=0

[logger_solace_ai_connector]
level=DEBUG
handlers=streamHandler,rotatingFileHandler
qualname=solace_ai_connector
propagate=0

[logger_uvicorn]
level=DEBUG
handlers=streamHandler,rotatingFileHandler
qualname=uvicorn
propagate=0

[logger_uvicorn_error]
level=INFO
handlers=streamHandler,rotatingFileHandler
qualname=uvicorn.error
propagate=0

[logger_uvicorn_access]
level=INFO
handlers=streamHandler,rotatingFileHandler
qualname=uvicorn.access
propagate=0

[handler_rotatingFileHandler]
class=logging.handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=('sam.log', 'a', 52428800, 10)

[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
