Opps, I am sorry. I will add a default 'build.properties' to the quratz jar. However, for changing INFO -> DEBUG, we have to patch the quartz (branch into dependencies and patch).
Thanks, Indika On Wed, Apr 27, 2011 at 6:57 PM, Charitha Kankanamge <[email protected]>wrote: > Hi Indika, > We still see the following logs at AS startup. > > [2011-04-27 18:17:04,229] INFO {org.quartz.simpl.SimpleThreadPool} - Job > execution threads will use class loader of thread: Framework Event > Dispatcher > [2011-04-27 18:17:04,259] INFO {org.quartz.core.QuartzScheduler} - Quartz > Scheduler v.UNKNOWN.UNKNOWN.UNKNOWN created. > [2011-04-27 18:17:04,261] INFO {org.quartz.simpl.RAMJobStore} - > RAMJobStore initialized. > [2011-04-27 18:17:04,261] INFO {org.quartz.impl.StdSchedulerFactory} - > Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource > file in Quartz package: 'quartz.properties' > [2011-04-27 18:17:04,261] INFO {org.quartz.impl.StdSchedulerFactory} - > Quartz scheduler version: UNKNOWN.UNKNOWN.UNKNOWN > [2011-04-27 18:17:04,262] INFO {org.quartz.core.QuartzScheduler} - > Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. > > Can we remove (log these at WARN or DEBUG) these logs ASAP? > > Reported a jira to keep track of this [1] > [1]https://wso2.org/jira/browse/CARBON-9523 > > Regards > Charitha > > > On Fri, Apr 1, 2011 at 11:24 AM, Indika Kumara <[email protected]> wrote: > >> Follwing is the corresponding code from org.quartz.core.QuartzScheduler. >> The issue is due to there is no 'build.properties' in the quartz orbit >> bundle though it is in the quartz jar (So synapse doesn't print the above >> log message). Have to fix the orbit bundle. Will check. >> >> private static String VERSION_MAJOR = "UNKNOWN"; >> private static String VERSION_MINOR = "UNKNOWN"; >> private static String VERSION_ITERATION = "UNKNOWN"; >> >> static { >> Properties props = new Properties(); >> try { >> InputStream is = >> >> QuartzScheduler.class.getResourceAsStream("/build.properties"); >> if(is != null) { >> props.load(is); >> VERSION_MAJOR = props.getProperty("version.major"); >> VERSION_MINOR = props.getProperty("version.minor"); >> VERSION_ITERATION = props.getProperty("version.iter"); >> } >> } catch (IOException e) { >> (LogFactory.getLog(QuartzScheduler.class)).error( >> "Error loading version info from build.properties.", e); >> } >> } >> >> ~ Indika >> >> On Fri, Apr 1, 2011 at 10:31 AM, Indika Kumara <[email protected]> wrote: >> >>> Senaka, >>> >>> I will look into this. BTW, I have not seen this before. >>> >>> Thanks, >>> >>> Indika >>> >>> On Thu, Mar 31, 2011 at 11:02 PM, Senaka Fernando <[email protected]>wrote: >>> >>>> Folks, >>>> >>>> $subject gets printed on the logs of most products that we have and >>>> looks very ugly. >>>> >>>> Thanks, >>>> Senaka. >>>> >>>> -- >>>> *Senaka Fernando* >>>> Product Manager - WSO2 Governance Registry; >>>> Associate Technical Lead; WSO2, Inc.; http://wso2.com* >>>> Member; Apache Software Foundation; http://apache.org >>>> >>>> E-mail: senaka AT wso2.com >>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>> Linked-In: http://www.linkedin.com/in/senakafernando >>>> >>>> *Lean . Enterprise . Middleware >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
