- Credit card number in log should show only last four digits eg: xxxxxxxxxxxx1234
- Configuration Setting should go in .properties, if you configure in context.xml every time you need to restart you server after updating xml
- Should close DB, file etc properly
- Avoid writing System.out.println() statement in loops.
- In production log level should be in INFO or WARN - it might decrease performance of the application due to many file IO operation try to write optimized text in logs.
No comments:
Post a Comment