diff options
author | Steven Shaw <steshaw@apache.org> | 2006-11-28 18:27:32 +0000 |
---|---|---|
committer | Steven Shaw <steshaw@apache.org> | 2006-11-28 18:27:32 +0000 |
commit | d1aed461cbb4a4c6f06ad9d7d496cac71d83dc23 (patch) | |
tree | 3a9b7e586fae842fe670b3ca0edfe2cbe552dba7 /qpid/dotnet/Qpid.Client.Tests | |
parent | ba7c0f32e98c08c59806592749560021a80068fb (diff) | |
download | qpid-python-d1aed461cbb4a4c6f06ad9d7d496cac71d83dc23.tar.gz |
Send logging to a file as well.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@480149 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Client.Tests')
-rw-r--r-- | qpid/dotnet/Qpid.Client.Tests/log4net.config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qpid/dotnet/Qpid.Client.Tests/log4net.config b/qpid/dotnet/Qpid.Client.Tests/log4net.config index e0a43a8b5e..1cd86f3fa9 100644 --- a/qpid/dotnet/Qpid.Client.Tests/log4net.config +++ b/qpid/dotnet/Qpid.Client.Tests/log4net.config @@ -5,6 +5,14 @@ </layout> </appender> + <appender name="filelog" type="log4net.Appender.FileAppender"> + <file value="qpid_client.log"/> + <appendToFile value="true"/> + <layout type="log4net.Layout.PatternLayout"> + <conversionPattern value="%d [%t] %-5p %c:%M(%L) - %m%n" /> + </layout> + </appender> + <appender name="protocolLog" type="log4net.Appender.FileAppender"> <file value="protocol.log"/> <appendToFile value="false"/> @@ -34,5 +42,6 @@ <root> <level value="info"/> <appender-ref ref="console"/> + <appender-ref ref="filelog"/> </root> </log4net>
\ No newline at end of file |