Skip to content

Commit

Permalink
[Truffle] Add a sample logging configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Dec 18, 2016
1 parent 237760b commit 1c94ebb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions samples/truffle/logging.properties
@@ -0,0 +1,15 @@
# Use this configuration with -J-Djava.util.logging.config.file=samples/truffle/logging.properties

# Use the standard file logger. If we set any handlers then the default one
# will be unset. You can add it back by name -
# org.jruby.truffle.Log$RubyHandler.

org.jruby.truffle.handlers=java.util.logging.FileHandler

# Say where to send file output.

java.util.logging.FileHandler.pattern=ruby.log

# Configure the logging level.

org.jruby.truffle.level=WARNING

0 comments on commit 1c94ebb

Please sign in to comment.