Skip to content

Commit

Permalink
Default debug level is warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 46a7c9a commit ff56cc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdFileCache/README
Expand Up @@ -129,7 +129,7 @@ pfc.osslib <lpath> [<params>] path to alternative plign for output file system

pfc.decisionlib <lpath> [<prams>] path to decision library and plugin parameters

pfc.trace <none|error|warning|info|debug|dump> default level is none, xrootd option -d sets debug level
pfc.trace <none|error|warning|info|debug|dump> default level is warning, xrootd option -d sets debug level

Examples

Expand Down
2 changes: 2 additions & 0 deletions src/XrdFileCache/XrdFileCache.cc
Expand Up @@ -138,6 +138,8 @@ Cache::Cache() : XrdOucCache(),
m_RAMblocks_used(0)
{
m_trace = new XrdOucTrace(&m_log);
// default log level is Warning
m_trace->What = 2;
}

//______________________________________________________________________________
Expand Down

0 comments on commit ff56cc5

Please sign in to comment.