I am also finding that under 3.5.3 there’s a ton of INFO messages being generated by Servoy Server that weren’t there in 3.1. This is causing me problems because I use the server log to see messages sent by a batch processor method using application.output(), but these are also categorized as INFO so there’s no way to filter on just those.
How can I filter out all the Servoy-generated stuff and see just my application.output() stuff?
My log4j settings are:
log4j.appender.configservlet.layout.dateTimeFormat=yyyy-MM-dd HH\:mm
log4j.appender.configservlet.windowSize=1000
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=servoy_log.txt
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.debug=false
log4j.logger.com.servoy.j2db.util.Debug=INFO
log4j.logger.org.apache.wicket=WARN
log4j.rootCategory=INFO, configservlet, file
the level of detail I’m getting in the server log looks like this:
2007-12-19 23:29:01,796 INFO [http-8080-1] com.servoy.j2db.util.Debug
- QuerySet { updates = <null>, select = select user_uid from
servoy_users su, servoy_user_groups sug, servoy_groups sg where
sg.group_name = ? and sg.group_id = sug.group_id and sug.user_id =
su.user_id [[Administrators]], cleanups = <null> }
2007-12-19 23:29:01,796 INFO [http-8080-1] com.servoy.j2db.util.Debug
- used sql select user_uid from servoy_users su, servoy_user_groups
sug, servoy_groups sg where sg.group_name = ? and sg.group_id =
sug.group_id and sug.user_id = su.user_id questiondata.length 1
2007-12-19 23:29:01,797 INFO [http-8080-1] com.servoy.j2db.util.Debug
- questiondata[0]= 'Administrators' ,type: java.lang.String
2007-12-19 23:29:01,848 INFO [http-8080-1] com.servoy.j2db.util.Debug
- sql select CUSTOM ELEMENT select user_uid from servoy_users where
user_name=? and user_password=? ([amcgilly,s7h7jAq8u0DB6XNXpQMafQ==])
2007-12-19 23:29:01,851 INFO [http-8080-1] com.servoy.j2db.util.Debug
- CUSTOM ELEMENT select user_uid from servoy_users where user_name=?
and user_password=? ([amcgilly,s7h7jAq8u0DB6XNXpQMafQ==])
2007-12-19 23:29:01,851 INFO [http-8080-1] com.servoy.j2db.util.Debug
- QuerySet { updates = <null>, select = select user_uid from
servoy_users where user_name=? and user_password=?
[[amcgilly,s7h7jAq8u0DB6XNXpQMafQ==]], cleanups = <null> }
2007-12-19 23:29:01,852 INFO [http-8080-1] com.servoy.j2db.util.Debug
- used sql select user_uid from servoy_users where user_name=? and
user_password=? questiondata.length 2
2007-12-19 23:29:01,853 INFO [http-8080-1] com.servoy.j2db.util.Debug
- questiondata[0]= 'amcgilly' ,type: java.lang.String
2007-12-19 23:29:01,853 INFO [http-8080-1] com.servoy.j2db.util.Debug
- questiondata[1]= 's7h7jAq8u0DB6XNXpQMafQ==' ,type: java.lang.String
2007-12-19 23:29:01,865 INFO [http-8080-1] com.servoy.j2db.util.Debug
- sql select CUSTOM ELEMENT select sg.group_id,sg.group_name from
servoy_groups sg,servoy_user_groups sug, servoy_users su where
sg.group_id = sug.group_id and sug.user_id=su.user_id and
su.user_uid=? order by sg.group_name ([2])
2007-12-19 23:29:01,869 INFO [http-8080-1] com.servoy.j2db.util.Debug
- CUSTOM ELEMENT select sg.group_id,sg.group_name from servoy_groups
sg,servoy_user_groups sug, servoy_users su where sg.group_id =
sug.group_id and sug.user_id=su.user_id and su.user_uid=? order by
sg.group_name ([2])
2007-12-19 23:29:01,870 INFO [http-8080-1] com.servoy.j2db.util.Debug
- QuerySet { updates = <null>, select = select
sg.group_id,sg.group_name from servoy_groups sg,servoy_user_groups
sug, servoy_users su where sg.group_id = sug.group_id and
sug.user_id=su.user_id and su.user_uid=? order by sg.group_name
[[2]], cleanups = <null> }
2007-12-19 23:29:01,870 INFO [http-8080-1] com.servoy.j2db.util.Debug
- used sql select sg.group_id,sg.group_name from servoy_groups
sg,servoy_user_groups sug, servoy_users su where sg.group_id =
sug.group_id and sug.user_id=su.user_id and su.user_uid=? order by
sg.group_name questiondata.length 1
2007-12-19 23:29:01,871 INFO [http-8080-1] com.servoy.j2db.util.Debug
- questiondata[0]= '2' ,type: java.lang.String