Skip to content

Commit

Permalink
Add log4j dependnecy to examples project (#455)
Browse files Browse the repository at this point in the history
Now there is logging outupt. I've also tweaked the logging settings to
start at DEBUG and to show the class name at least.
  • Loading branch information
rstoyanchev authored and robertroeser committed Dec 18, 2017
1 parent edd9938 commit c6fd3f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rsocket-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dependencies {
compile project(':rsocket-spectator')
compile project(':rsocket-transport-netty')
compile project(':rsocket-transport-local')
compile "org.slf4j:slf4j-log4j12:1.7.25"

testCompile project(':rsocket-test')
}
4 changes: 2 additions & 2 deletions rsocket-examples/src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
log4j.rootLogger=INFO, stdout
log4j.rootLogger=DEBUG, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %5p [%t] - %m%n
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %5p [%t] %c{1} - %m%n

0 comments on commit c6fd3f4

Please sign in to comment.