有时候为了找到redmine或者plugin的错误,需要得到development.log文件。
按照下面的步骤转换:
在config/environment.rb文件第一行,修改为
ENV[‘RAILS_ENV‘] ||= ‘development‘
database.yml文件中,development配置和production一样
production: adapter: mysql2 database: redmine host: localhost username: redmine password: "123456" encoding: utf8 development: adapter: mysql2 database: redmine host: localhost username: root password: "123456" encoding: utf8
然后重新启动redmine.