diff --git a/modules/weko-logging/weko_logging/config.py b/modules/weko-logging/weko_logging/config.py index a35f7aa3a3..e07f50dcb4 100644 --- a/modules/weko-logging/weko_logging/config.py +++ b/modules/weko-logging/weko_logging/config.py @@ -80,16 +80,16 @@ """ WEKO_LOGGING_USER_ACTIVITY_DB_SETTING = { - "log_level": "ERROR", + "log_level": "INFO", "delete": { - "when": "months", - "interval": 3 + "when": "years", + "interval": 10 } } """User activity logging to the database.""" WEKO_LOGGING_USER_ACTIVITY_STREAM_SETTING = { - "log_level": "ERROR" + "log_level": "INFO" } """User activity logging to the stream.""" diff --git a/scripts/instance.cfg b/scripts/instance.cfg index 428f4590bd..cc417b2887 100644 --- a/scripts/instance.cfg +++ b/scripts/instance.cfg @@ -264,11 +264,11 @@ CELERY_BEAT_SCHEDULE = { 'schedule': timedelta(hours=1), 'args': [], }, - 'delete_log': { - 'task': 'weko_logging.tasks.delete_log', - 'schedule': crontab(hour=0, minute=0), - 'args': [], - }, + # 'delete_log': { + # 'task': 'weko_logging.tasks.delete_log', + # 'schedule': crontab(hour=0, minute=0), + # 'args': [], + # }, 'bulk_post_item_to_researchmap': { 'task': 'weko_items_ui.tasks.bulk_post_item_to_researchmap', # 'schedule': crontab(minute='*/1'),