Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epf-dev] EPFWiki logging levels

You can use config.log_level  for that in environment.rb. to define the verbosity of the logger. In production mode, this defaults to :info. In development mode, it defaults to :debug.

I think you should add
config.log_level = :debug
If you want more all logging in production.

Note however that you should see info messages in production. If you don't see info messages something is wrong. Did you restart the server/app? You need to do that after you add info statements because of the caching of classes. Caching is only disabled in development mode.

On Tue, Feb 8, 2011 at 4:49 PM, John Allen <John.allen@xxxxxxxxxx> wrote:

I have trawled the EPF wiki guides but cant seem to find out how to vary the logging levels.

We have various Logger.info statements in the code that do not seem to be being outputted….

John

______________________________________________
John Allen - Solution Architect, Senior Manager
t +44 (0)207 812 4626 | m +44 (0)778 753 3602
f +44 (0)207 812 4100 | c +44 (0)207 897 9424 # 93410 59633
a Detica | 2 Arundel Street | London | WC2R 3AZ | UK
Please do not send emails to this account protectively marked as restricted or above
______________________________________________
www.detica.com a BAE Systems company

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.  The contents of this email may relate to dealings with other companies within the Detica Limited group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev



Back to the top