Project

General

Profile

Logging - Change log file destination

Added by Rahul Khemlani over 8 years ago

Would it be possible to change the destination of the production.log from

your-path-to-redmine/log/

to another directory?

I am running Bitnami Redmine Stack on a linux server.

Cheers!


Replies (3)

RE: Logging - Change log file destination - Added by Pavel Potcheptsov over 8 years ago

stop redmine
cd /your-path-to-redmine
rm -rf ./log
mkdir /new/log/file/location
ln -s /new/log/file/location log

RE: Logging - Change log file destination - Added by Amar Zahaf almost 2 years ago

Bonjour,
in your environments configs file exp production
config/environments/production.rb
config.logger = Logger.new("your_path/production.log", 2, 1048576)

if you use apache passenger
do not forget to delare passenegers user to avoid accesdenied

PassengerDefaultUser you_user

best regards

    (1-3/3)