Salut.
j'utilise le gem SyslogLogger ( syslog-ng). et je veux avoir deux
instances du logger
(je veux avoir des fichiers de log sépares selon le logger utilisé)
le probleme que le serveur ne considère qu'un seul à la fois !
j'ai mis cela dans mon environement.rb
RAILS_FIRST_LOGGER = SyslogLogger.new('rails-admin')
RAILS_SECOND_LOGGER = SyslogLogger.new('rails-user')
c'est toujours le premier qui appelé même si je fais un
RAILS_SECOND_LOGGER.info " its the second one!!"
c'est dans les fichiers log de RAILS_FIRST_LOGGER que je trouve les
traces!
je vois pas la raison de cela !!
Merci
on 2010-01-11 16:14
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.