i hoping use cygwin "tail -f" apache log file on 1 of windows machines. in cygwin terminal, cd on log directory, , get:
ccurvey@minnie1 /cygdrive/c/program files (x86)/apache software foundation/apache2.2/logs $ ls -l total 21 -rwx------+ 1 ccurvey domain users 6004 feb 25 2012 access.log -rwx------+ 1 ccurvey domain users 39519 feb 25 2012 error.log -rwx------+ 1 administrators domain users 6 jul 17 23:48 httpd.pid -rwx------+ 1 system system 6104 feb 25 2012 install.log -rwx------+ 1 ???????? domain users 0 feb 24 2012 minnie.log but if @ same directory in dos command window, see:
c:\program files (x86)\apache software foundation\apache2.2\logs>dir volume in drive c minnie os volume serial number 9c28-b005 directory of c:\program files (x86)\apache software foundation\apache2.2\logs 07/17/2013 11:48 pm <dir> . 07/17/2013 11:48 pm <dir> .. 07/17/2013 11:48 pm 10,514,794 access.log 07/17/2013 11:48 pm 2,458,745 error.log 07/17/2013 11:48 pm 6 httpd.pid 02/25/2012 01:04 pm 6,104 install.log 02/24/2012 10:56 0 minnie.log 5 file(s) 12,979,649 bytes 2 dir(s) 1,897,603,072 bytes free so why dos window showing me access.log last modified on 7/17/13, , cygwin terminal tells me same file last modified on 2/25/12? (i did look, , contents of files different! can see file size differences right on listings.)
======
update: ended uninstalling existing version of cygwin , installing brand-new copy, , working now.
use updated version of cygwin. might help.
Comments
Post a Comment