Whew.. that was a problem alright.. Does that mean when we change the <Host>, we have to have a handler added in logging.properties as well. ? I see there are already defined for applications packaged with tomcat like manager and host-manager.
Thanks, Anand On Wed, Dec 3, 2008 at 7:54 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Anand HS [mailto:[EMAIL PROTECTED] > > Subject: Re: What exactly happens when I configure a different host > > > > I changed the <Host> Name and <Engine> defaultHost back to > > localhost and the error vanishes. > > However, it re appears when I give a different name than localhost. > > Finally had time to go chase this a bit more. The error doesn't really > "vanish" when the <Host> name is "localhost", but it is not sent to the > console window Tomcat is using, nor to the catalina.*.log file; you can find > it in the localhost.*.log file. > > When you change the <Host> name to something else, the error is displayed > in the console window and in the catalina.*.log file, but not in > localhost.*.log. > > The reason behind this apparently inconsistent behavior is the settings in > conf/logging.properties: log entries for "localhost" are routed to specific > handlers, which do not include the console window. When you changed the > <Host> name but did not update logging.properties, the default log handler > kicked in, which dumped the error message to the console. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >