Skip to content

Commit

Permalink
KAFKA-2633; Default logging from tools to Stderr
Browse files Browse the repository at this point in the history
Author: Grant Henke <[email protected]>

Reviewers: Gwen Shapira

Closes apache#296 from granthenke/tools-log4j
  • Loading branch information
granthenke authored and gwenshap committed Oct 12, 2015
1 parent bd98a99 commit fe4818e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/tools-log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

log4j.rootLogger=WARN, stdout
log4j.rootLogger=WARN, stderr

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.appender.stderr=org.apache.log4j.ConsoleAppender
log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
log4j.appender.stderr.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.appender.stderr.Target=System.err

0 comments on commit fe4818e

Please sign in to comment.