MagicLog

MagicLog is an application that allows the sending of log files to Devo servers. 

Requirements

  • MagicLog requires .NET Framework 4.
  • MagicLog executes in Windows version where .NET Framework 4 executes. 
  • At the moment, MagicLog has been proved in the following Windows versions:
    1. Windows XP SP3
    2. Windows 7 SP1
    3. Windows 8
    4. Windows Server 2003
    5. Windows Server 2008
    6. Windows Server 2012
    7. Windows Server 2016

Downloads

Configuration

Please follow the below steps in order to install the MagicLog for file monitoring:

  1. Edit with Notepad the file MagicLog.Folders.config.
  2. Specify in the next line the file location you want to monitor → FolderPath = "C:\\Users\\..."
  3. In the next line, specify the extension of the file you want to monitor → FilePattern="*.txt"

Confirm the next lines:

SearchOption="AllDirectories"
LogTrustServer="127.0.0.1"
Port="10010"
Protocol="TCP"
Facility="10"
SendingSecure="false"
SenderTag="test.keep.free"

The file MagicLog.Folders.config has the following structure:


<?xml version="1.0" encoding="utf-8" ?>
<folderSection>
  <elements>
    <add name="Test" iscache="false"
            FolderPath="C:\\Users\\DavidCif\\Desktop"
            FilePattern="*.txt"
            SearchOption="AllDirectories" 
            LogTrustServer="127.0.0.1"
            Port="10010"
            Protocol="TCP"
            Facility="10"
            SendingSecure="false"
            SenderTag="test.keep.free"
            SenderTagPathPosList=""
            Parser0=""
            SelectParserGroup0="1"
            Parser=""
            Separator=""
            SelectParserGroups=""
            LineEndsWith=""
            IgnoreLineStartsWith="#"
            DeleteWhenFinished="false"
            DeleteIfOlderThan="0"
             />
  </elements>
</folderSection>

Rules 

  • In the SearchOption line you can use AllDirectories if you want to monitor all the files including the ones from sub-directories or folders. If you only need to monitor the files from a specific directory, then you should use TopDirectoryOnly.
  • If you want to monitor all the files independently of their extension, then you will use FilePattern="*.*"
  • If you only need two formats, then you should define an <element> and a FilePattern for each one of them.
  • In the SenderTag line you will have to specify the technology used. Here you can use one of the tags listed in the List of supported technologies. (for IIS event for example, you should use SenderTag="web.iis").

Final steps 

  • Install the MagicLog by executing the command MagicLog.exe  -i 
  • Execute services.msc and check that the MagicLog service is being executed.

Have we answered your question?

If not, please contact our technical support team via email by clicking the button below.

CONTACT US