tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand HS" <anan...@gmail.com>
Subject Re: What exactly happens when I configure a different host
Date Wed, 03 Dec 2008 23:35:38 GMT
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 <
Chuck.Caldarale@unisys.com> wrote:

> > From: Anand HS [mailto:anandhs@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message