chunzi wrote:
>how to make the instiki''s log infomatin save into a log file when
using
>-d (deamon mode) ?
>_______________________________________________
>
>
What directs the log to stderr in Instiki is this code in
config/environment.rb :
unless defined? RAILS_DEFAULT_LOGGER
RAILS_DEFAULT_LOGGER = Logger.new(STDERR)
ActionController::Base.logger ||= RAILS_DEFAULT_LOGGER
You should be able to override it by adding something like this to
config/environments/productions.rb :
ActionController::Base.logger
Logger.new("/path/to/logs/directory/instiki.log")
Best regards,
Alex