Production environment, the log of business system includes the log of the business logic, the log of the middleware platform, the log of the operating system, etc.
From Performance considerations:
In general, the logical log of the business itself should be configured as non-debug and trace mode, which reduces the burden on the server.
Middleware platform log, as far as possible to open non-debug and trace mode, reduce server burden.
If the business system encounters a problem that requires detailed log tracing for diagnosis, you can temporarily open the log's Debug/trace mode (level), and after the problem is resolved, turn off Debug/trace mode.
From Security considerations:
The business log should not contain private information (sensitive information) of the customer or business, business, supplier, partner, such as supplier name, supply goods, supply price, supply, customer's telephone number, email address, transaction amount, etc.
Management of production environment business log