You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Benjamin <be...@netyantra.com> on 2005/03/31 11:59:39 UTC

[users@httpd] turn off error logs

hello everyone,
how do i turn off error logging totaly(for performance issues on the 
server)???
for now.. i have put in /dev/null instead of the usual error log file 
path against Errorlog line.

Cheerz.

-- 

Benjamin Jacob.

Disclaimer :
------------------------------------------------------------------------------
If you are not the intended recipient of this transmission to whom it is
addressed, or have received this transmission in error, you are hereby
notified that any dissemination, distribution or copying of this transmission
is strictly prohibited. Please notify us immediately and delete this e-mail
from your system. The sender does not accept liability for any errors or
omissions in the contents of this message which arise as a result of e-mail
transmission, which cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, arrive at wrong address or contain viruses. If verification
is required please request a hard-copy version.  This e-mail contains only the
personal opinions of the sender and does not represent an official
communication from NetYantra of any manner.
------------------------------------------------------------------------------



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Dick Davies <ra...@hellooperator.net>.
* Benjamin <be...@netyantra.com> [0450 06:50]:
> Yes..setting the level to minimal(e.g crit) duz work on Apache 2.0. 
> Also, setting it to /dev/null also works, but thats a work-around.

Yeah,

LogLevel crit 

is probably best - /dev/null still gets apache to go through the trouble
of generating the log string, and it's pretty dumb to be totally ignoring
critical errors.
 
-- 
'Everyone's always in favour of saving Hitler's brain, but when you put it
in the body of a Great White shark suddenly you've gone too far..'
		-- Prof. Farnsworth
Rasputin :: Jack of All Trades - Master of Nuns

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by herauthon <he...@home.nl>.
yes, redirection doesnt remove the activity,
but then it doesnt write to a media, which is
also a nice thing to find out if its write/read related.

# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here.  Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog /xx/xx/herauthon/logs/access_log combined

what if you write the logs to MFS (ramdisk)
you will have logs, but no writes to media..
for a short moment a good alternative..
{debugging wise}


----- Original Message -----
From: "Benjamin" <be...@netyantra.com>
To: <us...@httpd.apache.org>
Sent: Friday, April 01, 2005 7:51 AM
Subject: Re: [users@httpd] turn off error logs


> Yes..setting the level to minimal(e.g crit) duz work on Apache 2.0.
> Also, setting it to /dev/null also works, but thats a work-around.
>
> I am not sure if the same works on the older 1.3 versions.. I tried
> putting crit, error, n other levels individualy, but even warnings were
> being written into the logs.
>
>
> Phillip Susi wrote:
>
> > Set it to /dev/null?
> >
> >
> > Joshua Slive wrote:
> >
> >>>> Change your log level config in the httpd.conf.
> >>>
> >>
> >>
> >> Right.
> >>
> >>
> >>> To disable completely, comment the line:
> >>> # ErrorLog ...
> >>
> >>
> >>
> >> Nope.  ErrorLog defaults to logs/error_log if it is not present in the
> >> config file.
> >>
> >> Joshua.
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> --
>
> Benjamin Jacob.
>
> Disclaimer :
> --------------------------------------------------------------------------
----
> If you are not the intended recipient of this transmission to whom it is
> addressed, or have received this transmission in error, you are hereby
> notified that any dissemination, distribution or copying of this
transmission
> is strictly prohibited. Please notify us immediately and delete this
e-mail
> from your system. The sender does not accept liability for any errors or
> omissions in the contents of this message which arise as a result of
e-mail
> transmission, which cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive late
or
> incomplete, arrive at wrong address or contain viruses. If verification
> is required please request a hard-copy version.  This e-mail contains only
the
> personal opinions of the sender and does not represent an official
> communication from NetYantra of any manner.
> --------------------------------------------------------------------------
----
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Browser interact question

Posted by herauthon <he...@home.nl>.
if you verbose the log entries - you will also see the used commands (?) -
maybe you can
filter line by line and send this to : /server/www/apache/index.html
cron killing the index.html after a minute..??
to prevent overflow or cluttering
the methode could be more smooth though..


----- Original Message -----
From: "James Sherwood" <js...@rgisolutions.com>
To: <us...@httpd.apache.org>
Sent: Friday, April 01, 2005 2:44 PM
Subject: [users@httpd] Browser interact question


> Hello,
>
> I need a way to monitor a port to pick up commands in ascii and send those
> commands to an open browser via javascript.
>
> Is this possible.  I know apache can monitor ports and sockets, just not
> sure how to send commands (if you can) to a currently open browser via
> javascript events.
>
> Thanks in advance,
> James
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Browser interact question

Posted by James Sherwood <js...@rgisolutions.com>.
Hello,

I need a way to monitor a port to pick up commands in ascii and send those
commands to an open browser via javascript.

Is this possible.  I know apache can monitor ports and sockets, just not
sure how to send commands (if you can) to a currently open browser via
javascript events.

Thanks in advance,
James



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Benjamin <be...@netyantra.com>.
Yes..setting the level to minimal(e.g crit) duz work on Apache 2.0. 
Also, setting it to /dev/null also works, but thats a work-around.

I am not sure if the same works on the older 1.3 versions.. I tried 
putting crit, error, n other levels individualy, but even warnings were 
being written into the logs.


Phillip Susi wrote:

> Set it to /dev/null?
>
>
> Joshua Slive wrote:
>
>>>> Change your log level config in the httpd.conf. 
>>>
>>
>>
>> Right.
>>
>>
>>> To disable completely, comment the line:
>>> # ErrorLog ...
>>
>>
>>
>> Nope.  ErrorLog defaults to logs/error_log if it is not present in the
>> config file.
>>
>> Joshua.
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

-- 

Benjamin Jacob.

Disclaimer :
------------------------------------------------------------------------------
If you are not the intended recipient of this transmission to whom it is
addressed, or have received this transmission in error, you are hereby
notified that any dissemination, distribution or copying of this transmission
is strictly prohibited. Please notify us immediately and delete this e-mail
from your system. The sender does not accept liability for any errors or
omissions in the contents of this message which arise as a result of e-mail
transmission, which cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, arrive at wrong address or contain viruses. If verification
is required please request a hard-copy version.  This e-mail contains only the
personal opinions of the sender and does not represent an official
communication from NetYantra of any manner.
------------------------------------------------------------------------------



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Phillip Susi <ps...@cfl.rr.com>.
Set it to /dev/null?


Joshua Slive wrote:
>>>Change your log level config in the httpd.conf. 
> 
> 
> Right.
> 
> 
>>To disable completely, comment the line:
>># ErrorLog ...
> 
> 
> Nope.  ErrorLog defaults to logs/error_log if it is not present in the
> config file.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by herauthon <he...@home.nl>.
errorlog  = /dev/null ?

----- Original Message -----
From: "Joshua Slive" <js...@gmail.com>
To: <us...@httpd.apache.org>
Sent: Thursday, March 31, 2005 5:02 PM
Subject: Re: [users@httpd] turn off error logs


> > > Change your log level config in the httpd.conf.
>
> Right.
>
> > To disable completely, comment the line:
> > # ErrorLog ...
>
> Nope.  ErrorLog defaults to logs/error_log if it is not present in the
> config file.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Joshua Slive <js...@gmail.com>.
> > Change your log level config in the httpd.conf. 

Right.

> To disable completely, comment the line:
> # ErrorLog ...

Nope.  ErrorLog defaults to logs/error_log if it is not present in the
config file.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Jonathan Mangin <jo...@comcast.net>.
> Change your log level config in the httpd.conf.  You'll find the info you 
> need
> to make the adjustments withing the comments within the file.
>
> On Thursday 31 March 2005 11:59, Benjamin wrote:
>> hello everyone,
>> how do i turn off error logging totaly(for performance issues on the
>> server)???
>> for now.. i have put in /dev/null instead of the usual error log file
>> path against Errorlog line.
>>
>> Cheerz.
>
To disable completely, comment the line:
# ErrorLog ...

I disable access logging on my dev servers this way.

-Jon



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] turn off error logs

Posted by Markus Mayer <my...@gmx.at>.
Change your log level config in the httpd.conf.  You'll find the info you need 
to make the adjustments withing the comments within the file.

On Thursday 31 March 2005 11:59, Benjamin wrote:
> hello everyone,
> how do i turn off error logging totaly(for performance issues on the
> server)???
> for now.. i have put in /dev/null instead of the usual error log file
> path against Errorlog line.
>
> Cheerz.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org