myesn

myEsn2E9

hi
github

MongoDB: mongod.log log file is too large

  1. Execute db.adminCommand({logRotate: 1}) to backup the existing logs, then create a new mongod.log file
  2. Delete the backup file located in /var/log/mongodb/ with a date suffix
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.