This is running on Microsoft Windows. I could find nothing in the *Task Scheduler* (equivalent of cron?) that would indicate this is running.
It would have been Apache httpd that initialized the Task Scheduler itself with a logrotate command when httpd was started. Best, SP On 08-Mar-2013 11:40, John Iliffe wrote: > This may be a dumb question but do you have logrotate running from cron? > > If so, check your configuration and see if the log is being rotated by BOTH > logrotate AND httpd. > > Regards, > > John > =============================================== > On Friday 08 March 2013 08:02:36 Steve Penner wrote: >> BRIEF BACKGROUND >> From the Internet, users can access my web server using EITHER name >> *website1*.dynalias.org OR *website2*.dyndns.blog.com (provided by >> DynDNS.com dynamic DNS). The VHOSTS file sends them to different >> document routes depending on the name they chose. In addition, I can >> enter "http://localhost" and be taken to a different document root >> (should not be accessible to those outside); this too defined in VHOSTS >> file (see below). >> >> {Note the hostnames *website1 *and *website2 *are replacements of real >> names, but the rest of each name is real (domain+tld)] >> >> _*THE PROBLEM*_ >> My two log files, error and access, for all three virtual hosts are >> being rotated well before they have reached size or time limit! >> Practically being rotated on the beginning of a new day. What is >> happening? >> >> ================================= >> >> The two sections below (LOG FILE DEFINITIONS / CONFIGURATION) are in the >> httpd.conf and httpd-vhosts.conf files to show how the log file config >> are set up. >> >> The section at the bottom contains possibly relevant additional >> information. >> >> If you note/observe any (other) alarming configuration setting or other >> problem/misconfiguration, your reply is appreciated. >> >> ================================= >> >> LOG FILE DEFINITIONS / CONFIGURATIONS in _*httpd.conf*_ (entries are >> indented to point to config file lines) >> >> ErrorLog "|\"C:/_Windows Uninstalled >> Applications/Apache24/bin/rotatelogs.exe\" >> \"D:/WebServerConfig/httpd/logs/error%Y%b%d.log\" 7776000" >> LogLevel notice >> #mod log_config is loaded! >> <IfModule log_config_module> >> # >> # The following directives define some format nicknames for use with >> # a CustomLog directive (see below). >> # >> LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" >> \"%{User-Agent}i\"" combined >> LogFormat "%h %l %u %t \"%r\" %>s %B" common >> # mod log_io is NOT loaded >> <IfModule logio_module> >> # You need to enable mod_logio.c to use %I and %O >> LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" >> \"%{User-Agent}i\" %I %O" combinedio >> </IfModule> >> # 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 "|bin/rotatelogs.exe >> D:/WebServerConfig/httpd/logs/access%Y%b%d.log 7776000" combined >> env=!image-request </IfModule> >> >> # DISABLED UNTIL PROBLEMS WITH LOG FILE ROTATION FIXED >> # stops logging of certain file types >> # SetEnvIf Request_URI "\.ico$" dontlog >> # SetEnvIf Request_URI "\.png$" dontlog >> # SetEnvIf Request_URI "\.jpg$" dontlog >> # SetEnvIf Request_URI "\.jpeg$" dontlog >> # SetEnvIf Request_URI "\.css$" dontlog >> # SetEnvIf Request_URI "\.gif$" dontlog >> # SetEnvIf Request_URI \"GET .*\.(gif|css|js|jpg|jpeg|png|ico) >> HTTP\/1\.1\" [0-9]{3} [0-9]{1,} >> \"http:\/\/website1.dynalias.org\/.*\.html\" dontlog >> >> ======================================== >> >> LOG FILE DEFINITIONS / CONFIGURATIONS in _*httpd-vhosts.conf*_ >> >> <VirtualHost *:80 *:8080 *:8008> >> ServerAdmin [email protected] >> DocumentRoot "Z:/service.web.Root" >> ErrorLog "|\"C:/_Windows Uninstalled >> Applications/Apache24/bin/rotatelogs.exe\" >> \"D:/WebServerConfig/httpd/logs/webroot-error%Y%b%d.log\" 7776000" >> CustomLog "|bin/rotatelogs.exe >> D:/WebServerConfig/httpd/logs/webroot-access%Y%b%d.log 5M" combined >> env=!image-request >> Options Indexes FollowSymLinks >> </VirtualHost> >> >> <VirtualHost *:80 *:8080 *:8008> >> ServerAdmin [email protected] >> DocumentRoot "Z:/service.web.website1" >> ServerName website1.dynalias.org >> ServerAlias www.website1.dynalias.org >> ErrorLog "|\"C:/_Windows Uninstalled >> Applications/Apache24/bin/rotatelogs.exe\" >> \"D:/WebServerConfig/httpd/logs/website1.dynalias.org-error%Y%b%d.log\" >> 7776000" CustomLog "|bin/rotatelogs.exe >> D:/WebServerConfig/httpd/logs/website1.dynalias.org-access%Y%b%d.log 5M" >> combined env=!image-request >> IndexOptions FancyIndexing NameWidth=* DescriptionWidth=* >> SuppressHTMLPreamble HeaderName /ApacheDirListingHeader.html >> Options Indexes FollowSymLinks >> </VirtualHost> >> >> <VirtualHost *:80 *:8080 *:8008> >> ServerAdmin [email protected] >> DocumentRoot "Z:/service.web.website2" >> ServerName website2.dyndns-blog.com >> ServerAlias www.website2.dyndns-blog.com >> ErrorLog "|\"C:/_Windows Uninstalled >> Applications/Apache24/bin/rotatelogs.exe\" >> \"D:/WebServerConfig/httpd/logs/website2.dyndns-blog.com-error%Y%b%d.log >> \" 7776000" CustomLog "|bin/rotatelogs.exe >> D:/WebServerConfig/httpd/logs/website2.dyndns.blog.com-access%Y%b%d.log >> 5M" combined env=!image-request >> Options Indexes FollowSymLinks >> </VirtualHost> >> >> >> >> >> >> ======================================================================== >> ========= POSSIBLY RELEVANT CONFIGURATION INFORMATION >> >> Apache: 2.4.3 (Win32) OpenSSL/0.9.8x PHP/5.4.8; API version: 20120211 >> O/S: Microsoft Windows 7 (64-bit) Home Premium SP1 >> Machine: ASUS G74Sx (8 GB RAM) >> >> Apache Configuration-- (reported by phpinfo) >> Server Root: C:/_Windows Uninstalled Applications/Apache 24 >> Virtual Server: Yes >> Max Requests: Per Child: 0, Keep Alive: on, Max Per Connection: 100 >> Timeouts: Connection: 60, Keep Alive: 5 >> Loaded Modules: >> core mod_win32 mpm_winnt http_core >> mod_so mod_access_compat mod_actions >> mod_alias mod_allowmethods mod_asis >> mod_auth_basic mod_authn_core mod_authn_file >> mod_authz_core mod_authz_groupfile mod_authz_host >> mod_authz_user mod_autoindex mod_cgi >> mod_dir mod_env mod_include mod_isapi >> mod_log_config mod_mime mod_negotiation >> mod_rewrite mod_setenvif mod_ssl mod_php5 >> >> >> *httpd.conf* location: D:/WebServer/Config/httpd/config/httpd.conf >> *httpd-vhosts.conf* location: >> D:/WebServer/Config/httpd/config/extra/httpd-vhosts.conf > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
