Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

log file is truncated when server is restarted #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run rubycas-server with logging to /var/log/casserver.log
2. check that the log file contains stuff (warnings, info, etc)
3. stop and then start rubycas-server
4. The previous information has been removed from the log file.

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, cgi, etc.)? 

rubycas-server 0.6, gem install
running in mongrel

If relevant, please paste your RubyCAS-Server config.yml file here.

log section, unchanged from the default config.yml file:

log:
  file: /var/log/casserver.log
  level: INFO

Please provide any additional information below.

In case it's relevant, rubycas-server is running as a non-privileged user,
but with write access to /var/log/casserver.log.

Original issue reported on code.google.com by zomg....@gmail.com on 13 May 2008 at 6:25

GoogleCodeExporter commented 8 years ago
This seems to happen when you use rubycas-server-ctl to start the server, but 
not
when you use just rubycas-server to start th instance manually.

I'll look into it and see what's causing it.

Original comment by matt.zuk...@gmail.com on 13 May 2008 at 3:57

GoogleCodeExporter commented 8 years ago
Okay I think I've got it fixed. You'll have to download the beta version of the
Picnic gem, which you can grab here:

http://camping-picnic.googlecode.com/files/picnic-0.6.3.75.gem

Original comment by matt.zuk...@gmail.com on 13 May 2008 at 4:22

GoogleCodeExporter commented 8 years ago
Thanks for the quick fix Matt, installing picnic 0.6.3.75 fixed this issue :)

Just a small note, i had to change the "require 'activesupport'" lines in
lib/picnic/cli.rb to "require 'active_support'" before this worked.  This 
matches the
require lines in lib/picnic.rb.

Original comment by zomg....@gmail.com on 14 May 2008 at 8:06

GoogleCodeExporter commented 8 years ago
thanks for noticing that... i've made the appropriate change to cli.rb.

Original comment by matt.zuk...@gmail.com on 21 May 2008 at 3:03