Author |
|
matiash
Joined: 24 Dec 2013 Posts: 2 Location: Bielsko-Biała
|
Posted: Tue 24 Dec '13 10:41 Post subject: Apache notices during start/stop |
|
|
Hi,
I have installed the newest version of apache 2.4.7. It's running with php 5.5.7. Everything is installed on Windows 8.1 64bit. When I start apache I get some notices in error.log. What can cause such notices?
Here is my log file:
Code: | [Tue Dec 24 09:41:50.753763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00455: Apache/2.4.7 (Win32) PHP/5.5.7 configured -- resuming normal operations
[Tue Dec 24 09:41:50.753763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Tue Dec 24 09:41:50.753763 2013] [core:notice] [pid 5804:tid 544] AH00094: Command line: 'C:\\apache\\bin\\httpd.exe -d C:/apache'
[Tue Dec 24 09:41:50.754763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00418: Parent: Created child process 6456
[Tue Dec 24 09:41:51.128012 2013] [mpm_winnt:notice] [pid 6456:tid 440] AH00354: Child: Starting 64 worker threads.
|
|
|
Back to top |
|
Millennium
Joined: 17 Apr 2006 Posts: 179 Location: Leiderdorp, NL, EU
|
Posted: Tue 24 Dec '13 17:29 Post subject: Re: Apache notices during start/stop |
|
|
Starting apache causes this. It are notices, not errors or warnings.
Could change the logging level: http://httpd.apache.org/docs/2.2/mod/core.html#loglevel
But you can't supress notices will logging to file |
|
Back to top |
|
matiash
Joined: 24 Dec 2013 Posts: 2 Location: Bielsko-Biała
|
Posted: Tue 24 Dec '13 20:54 Post subject: Hmm |
|
|
But notices are still errors. When I start apache on linux machines error.log is clean. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 24 Dec '13 21:27 Post subject: |
|
|
No, notices are not errors. They do appear in the error log however. As far as your Linux box, which version of Apache is on it? 2.4 is the noisiest one, I wish there was a separate notice log which could keep them out of the error log. |
|
Back to top |
|
jraute
Joined: 13 Sep 2013 Posts: 188 Location: Rheinland, Germany
|
Posted: Tue 24 Dec '13 22:26 Post subject: Re: Apache notices during start/stop |
|
|
Lets have a look at your log file and what it means:
Code: | [Tue Dec 24 09:41:50.753763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00455: Apache/2.4.7 (Win32) PHP/5.5.7 configured -- resuming normal operations |
The initialization of Apache has finished
Code: | [Tue Dec 24 09:41:50.753763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01 |
Information about the compiled version.
Code: | [Tue Dec 24 09:41:50.753763 2013] [core:notice] [pid 5804:tid 544] AH00094: Command line: 'C:\\apache\\bin\\httpd.exe -d C:/apache' |
The startup command line and the path.
Code: | [Tue Dec 24 09:41:50.754763 2013] [mpm_winnt:notice] [pid 5804:tid 544] AH00418: Parent: Created child process 6456 |
The parent process under PID 5804 has created a corresponding child process under 6456.
Code: | [Tue Dec 24 09:41:51.128012 2013] [mpm_winnt:notice] [pid 6456:tid 440] AH00354: Child: Starting 64 worker threads. |
The child process has started 64 worker threads.
-> Everything very normal. |
|
Back to top |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
Posted: Wed 25 Dec '13 0:09 Post subject: |
|
|
Notices are not errors...
If you want a clean log, try to set LogLevel to warn instead of notice.
But i don't know if it work on windows. |
|
Back to top |
|
Anaksunaman
Joined: 19 Dec 2013 Posts: 54
|
Posted: Wed 25 Dec '13 10:29 Post subject: Start Up Notices |
|
|
No, LogLevel warn still generates these informational notices (at least it does for me on 7/x64). There are three lines for successful shutdown as well that always seem to be written on Windows. |
|
Back to top |
|
Sarah Keys
Joined: 02 Jan 2014 Posts: 5 Location: United States
|
Posted: Thu 02 Jan '14 19:52 Post subject: Re: Apache notices during start/stop |
|
|
Hi matiash,
In the apache website I have found "NOTE: When logging to a regular file messages of the level notice cannot be suppressed and thus are always logged. However, this doesn't apply when logging is done using syslog." you can check at apache documentation http://httpd.apache.org/docs/1.3/mod/core.html#loglevel . Hope that helps |
|
Back to top |
|