How do I change the location of MetaDefender Core v3 logs?

Some MetaDefender Core administrators want MetaDefender Core logs sent to a directory other than the one MetaDefender Core uses by default. If you have this requirement, follow the guidelines below:

  1. Create new folders named "data" and "log" under the new location you want to use as the destination for log files.

  2. Open the registry editor and navigate to this location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\OPSWAT\Metascan.

  3. Change the "mongo_data_dir" default value in C:\Program Files (x86)\OPSWAT\MetaDefender Core (X)\Mongo\data\ with the path of the data folder that you created in the step 1.

  4. Change the "mongo_log_dir" default value in C:\Program Files (x86)\OPSWAT\MetaDefender Core (X)\Mongo\log\ with the path of the log folder that you created in the step 1.

  5. Open Task Manager, select the Process tab, locate the mongod.exe process, and right-click on the process and choose End Process Tree to kill it.

  6. Open Services and restart Metascan service.

  7. Check if MetaDefender Core populated the folders where you moved the logs.

images/download/attachments/33427680/Capture.PNG


This article applies to MetaDefender Core v3
This article was last updated on 2017-12-20
CN