How to do logging in java using log4j api, best practices and tips

We talk about logging in general and the different levels used in java and then we talk about the log4j logging API and how to set it up for writing files, logging to console, or doing a custom setup. We also talk about different frameworks and best practices.

Github repository

Please follow me on twitter

Learn the basics of Java programming and software development in 5 online courses from Duke University.

My merchandise:

Or visit my blog at:

Outro music: Sanaas Scylla

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s