logging.properties 6.29 KB
Newer Older
1
2
3
# By default, logs are sent to console and bonita logs
# For production you should remove ConsoleHandler (information are already available in bonita logs)
handlers = java.util.logging.ConsoleHandler, 1bonita.org.apache.juli.AsyncFileHandler
4
# Add the additional logger below to redirect monitoring logs to a specific file. Also uncomment line 'org.bonitasoft.engine.configuration.monitoring.LoggingMeterRegistry.handlers' below:
5
#, 2monitoring.org.apache.juli.AsyncFileHandler
6

7
8
# default handlers, associated to loggers if not overridden
.handlers = java.util.logging.ConsoleHandler, 1bonita.org.apache.juli.AsyncFileHandler
9

10
11
# Log format looks like this
# 2017-05-11 12:09:10.201 +0200 INFOS: org.bonitasoft.platform.configuration.util.AllConfigurationResourceVisitor found file: tenant_template_engine/bonita-tenants-custom.xml
12
java.util.logging.SimpleFormatter.format=%1$tF %1$tT.%1$tL %1$tz %4$s: %3$s %5$s%6$s%n
13

14
15
16
17
18
19
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

# Definition of the Bonita logs handler
20
21
22
1bonita.org.apache.juli.AsyncFileHandler.level = ALL
1bonita.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
1bonita.org.apache.juli.AsyncFileHandler.prefix = bonita.
23
# Use this formatter to see the thread name in the logs
24
1bonita.org.apache.juli.AsyncFileHandler.formatter = org.apache.juli.BonitaSimpleFormatter
25

26
# Specific log handler for Runtime Monitoring
27
28
29
30
2monitoring.org.apache.juli.AsyncFileHandler.level = ALL
2monitoring.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
2monitoring.org.apache.juli.AsyncFileHandler.prefix = bonitaMonitoring.
2monitoring.org.apache.juli.AsyncFileHandler.formatter = java.util.logging.SimpleFormatter
31

32
33
34
35
36
37
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
38
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita].level = INFO
39

40
41
42
43
44
45
46
47
48
#############################################################################################
##### DO NOT MODIFY THIS LINE, IT IS USED TO ADAPT THE FILE TO THE DOCKER IMAGE VERSION #####
#############################################################################################

# Custom formatter to be able to see thread name in the log (thread name available at position 7)
org.apache.juli.BonitaSimpleFormatter.format=%1$tF %1$tT.%1$tL %1$tz %4$s (%7$s) %3$s %5$s%6$s%n
# Produced logs
# 2019-11-07 17:37:16.474 +0100 INFOS (localhost-startStop-1) org.bonitasoft.engine.scheduler.impl.BonitaSchedulerFactory Using default implementation for ThreadExecutor

49
50
51
52
53
54
55
# For example, set the org.apache.catalina.util.LifecycleBase logger to log
# each component that extends LifecycleBase changing state:
#org.apache.catalina.util.LifecycleBase.level = FINE

# To see debug messages in TldLocationsCache, uncomment the following line:
#org.apache.jasper.compiler.TldLocationsCache.level = FINE

56
57
58
59
60
61
# To see debug messages for HTTP/2 handling, uncomment the following line:
#org.apache.coyote.http2.level = FINE

# To see debug messages for WebSocket handling, uncomment the following line:
#org.apache.tomcat.websocket.level = FINE

62
# To associate Bonita Monitoring logs to a specific file:
63
# org.bonitasoft.engine.configuration.monitoring.LoggingMeterRegistry.handlers = 2monitoring.org.apache.juli.AsyncFileHandler
64

65
66
67
68
# By default for development it's a good idea to set the default level for all Bonita component to INFO.
# In production WARNING is a good choice.
org.bonitasoft.level = WARNING

69
70
71
com.arjuna.level = INFO
org.jboss.narayana.tomcat.jta.level = FINE

72
73
74
# At platform initial setup, activate FINE messages on what is happening:
org.bonitasoft.platform.level = INFO

Céline Souchet's avatar
Céline Souchet committed
75
76
org.bonitasoft.engine.EngineInitializer.level = INFO

77
78
79
80
81
82
83
84
85
# If you want to have more log on connectors execution only, you can activate and modify the following lines
#org.bonitasoft.engine.core.connector.level = FINE
#org.bonitasoft.engine.connector.level = FINE

# If you want to have more log on expressions only, you can activate and modify the following lines
#org.bonitasoft.engine.expression.level = FINE
#org.bonitasoft.engine.data.instance.api.DataExpressionExecutorStrategy.level = FINE

# If you want to have more log on input/output of API calls, you can activate and modify the following line
86
#org.bonitasoft.engine.api.level = FINEST
87
88
89
90
91
92
93

# If you want to have more log on Asynchronous executions (Work/Job), you can activate and modify the following lines
#org.bonitasoft.engine.work.level = FINE
#org.bonitasoft.engine.execution.work.level = FINE
#org.bonitasoft.engine.job.level = FINE
#org.bonitasoft.engine.jobs.level = FINE
#org.bonitasoft.engine.scheduler.level = FINE
94
95
# Display monitoring information when property 'org.bonitasoft.engine.monitoring.publisher.logging.enable' is set to true in configuration file 'bonita-platform-community-custom.properties'
org.bonitasoft.engine.configuration.monitoring.LoggingMeterRegistry.level = INFO
96
# Specific logger for auditing work execution
97
BONITA_WORK_AUDIT.EXECUTION.level = INFO
98

99
# If you want to deactivate warnings on wrong handling of transient data
100
101
102
#org.bonitasoft.engine.operation.TransientDataLeftOperandHandler.level = SEVERE
#org.bonitasoft.engine.expression.ReevaluatingTransientDataExpressionExecutorStrategy.level = SEVERE

103
104
# Hibernate is used by Bonita and very verbose in the log. Should stay with WARNING level except when debugging database access issues
org.hibernate.level = WARNING
105
# Remove wrong warnings about ehcache:
106
org.hibernate.orm.cache.level = SEVERE
107
108
# enable tracking of slow execution queries:
org.hibernate.SQL_SLOW.level = INFO
109
110
111

# Ehcache is used by Bonita and very verbose in the log.  Should stay with WARNING level except when debugging cache issues
net.sf.ehcache.level = WARNING
112

113
114
115
# Deactivate annoying false warning:
org.hibernate.type.TypeFactory.level = SEVERE

116
org.springframework.level = WARNING
117
org.bonitasoft.engine.service.impl.BonitaSpringContext.level = WARNING
118
119
120
121

# tuckey
org.tuckey.level = WARNING

122
123
# If you want to have more log on rest api extension provided logger, you can activate and modify the following lines
#org.bonitasoft.api.extension.level = FINE