When pomelo is used, it is found that log4js logs cannot be output to log files. The solution is as follows:
1. Delete the./node_modules/pomelo-logger folder under the project directory.
2. Modify the./node_modules/pomelo/package. JSON file under the project directory, find the pomelo-logger in dependencies, and delete the modified line.
It is also found that the logs in pomelo-Admin cannot be output to the log file. The solution is similar:
1. Delete the./node_modules/pomelo-logger folder under the project directory.
2. Modify the./node_modules/pomelo/node_modules/package. JSON file under the project directory, find pomelo-logger in dependencies, and delete and change the line
1. Delete the./node_modules/pomelo-logger folder under the project directory.
2. Modify the./node_modules/pomelo/package. JSON file under the project directory, find the pomelo-logger in dependencies, and delete the modified line.
Solution to the problem that logs cannot be output to log files when logger is configured in pomelo