FLUME-1795: Flume thrift legacy source does not have proper logging configured
(Venkat Ranganathan via Brock Noland) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/bf2676d6 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/bf2676d6 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/bf2676d6 Branch: refs/heads/flume-1.3.0 Commit: bf2676d6bf63baf4cdff1fa7567f587a19afdc1e Parents: 26f4af0 Author: Brock Noland <[email protected]> Authored: Tue Dec 18 13:14:53 2012 -0600 Committer: Hari Shreedharan <[email protected]> Committed: Thu Dec 20 14:49:01 2012 -0800 ---------------------------------------------------------------------- .../src/test/resources/log4j.properties | 25 +++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/bf2676d6/flume-ng-legacy-sources/flume-thrift-source/src/test/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/flume-ng-legacy-sources/flume-thrift-source/src/test/resources/log4j.properties b/flume-ng-legacy-sources/flume-thrift-source/src/test/resources/log4j.properties new file mode 100644 index 0000000..9036aca --- /dev/null +++ b/flume-ng-legacy-sources/flume-thrift-source/src/test/resources/log4j.properties @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +log4j.rootLogger = DEBUG, out + +log4j.appender.out = org.apache.log4j.ConsoleAppender +log4j.appender.out.layout = org.apache.log4j.PatternLayout +log4j.appender.out.layout.ConversionPattern = %d (%t) [%p - %l] %m%n + +log4j.logger.org.apache.flume = DEBUG
