logging - production.log in rails 3 is stuck -


i have weird issue on test server...

basically app running fine, yet if check production.log, reason stuck @ yesterday, when had error on app... since then, have fixed it, deployed again, log still won't updated. it's beel since yesterday night.

so if try

tail -f log/production.log 

the last log see yesterday... what's going on? weird o___o

here's log:

started "/one" xx.xx.xx.xx @ 2012-06-04 09:14:30 -0400 processing paragraphscontroller#one html (0.5ms)  select id paragraphs length = 1 paragraph load (0.3ms)  select "paragraphs".* "paragraphs" "paragraphs"."id" = $1 limit 1  [["id", 1]] rendered paragraphs/one.html.erb within layouts/application (0.1ms) completed 200 ok in 3ms (views: 1.0ms | activerecord: 0.8ms) tail: cannot open `1' reading: no such file or directory 

any appreciated!

perhaps log file has rotated? tail -f follow file, not filename. if want follow filename, should use tail -f instead. (note capital letter f.) way, when file rotated, you'll new log file rather stare @ old file.


Comments