Logs are printed twice in console

Hybris comes with bundled Log4J logger. This is used for every logging activity in hybris.

We can define log levels for each extension and even each package. So if we have defined logger level for sub package, then it will execute twice. For eg;

log4j.com.package.name = debug,appconsole

log4j.com.package.name.subpackage = debug,appconsole

So every logging  activity for subpackage will be run twice, once for parent package and one for sub package.

We can disable it via:


What do you think?

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

WordPress.com Logo

You are commenting using your WordPress.com 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