generator-jhipster-entity-audit icon indicating copy to clipboard operation
generator-jhipster-entity-audit copied to clipboard

disable info logs on production build

Open prashanthsun9 opened this issue 8 years ago • 1 comments

Why the info logs are not disabled while running the app on product mode, I am not talking about entity audit logs, this are info logs that are written into log file.


    Application 'mallService' is running! Access URLs:
    Local:          http://localhost:9091
    External:       http://192.168.33.1:9091
    Profile(s):     [prod]

2017-06-15 12:05:39.248 ERROR 7184 --- [ XNIO-2 task-5] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/11874f43-c33c-4d58-8d40-e5935c0b7b34.png 2017-06-15 12:05:39.248 ERROR 7184 --- [ XNIO-2 task-4] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/5666ac47-2f22-4c95-b0e2-cfa8800911e8.png 2017-06-15 12:06:28.083 ERROR 7184 --- [ XNIO-2 task-9] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/11874f43-c33c-4d58-8d40-e5935c0b7b34.png 2017-06-15 12:06:28.133 ERROR 7184 --- [ XNIO-2 task-10] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/5666ac47-2f22-4c95-b0e2-cfa8800911e8.png 2017-06-15 12:06:31.640 ERROR 7184 --- [ XNIO-2 task-15] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/11874f43-c33c-4d58-8d40-e5935c0b7b34.png 2017-06-15 12:06:31.641 ERROR 7184 --- [ XNIO-2 task-16] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: banner/b71c5cba-ace2-40c9-8d75-4a32dcad7963.jpg 2017-06-15 12:06:40.855 INFO 7184 --- [ XNIO-2 task-23] org.javers.core.Javers : Commit(id:79.0, snapshots:3, author:admin, changes - ValueChange:6) 2017-06-15 12:06:41.051 ERROR 7184 --- [ XNIO-2 task-28] c.nearbuy.mall.web.rest.util.HeaderUtil : Entity creation failed, Could not read file: logo/5666ac47-2f22-4c95-b0e2-cfa8800911e8.png

prashanthsun9 avatar Jun 15 '17 08:06 prashanthsun9

log level for Javers need to be set in logback.xml I guess

deepu105 avatar Jul 28 '17 18:07 deepu105

Closing, since we migrate to a new blueprint version. If you found any issue with latest version, please open a new issue.

DanielFran avatar Aug 27 '22 15:08 DanielFran