# Log4Graylog



Service for monitoring and sending log files to Graylog.
## AppSettings
GraylogSettings
>HostnameOrAddress
logs.pal.it [Default]
>Port
12204 [Default]
>MinimumLogEventLevel
0. Verbose
1. Debug
2. Information [Default]
3. Warning
4. Error
5. Fatal
>Facility
ConsoleApp [Default]
---
GeneralSettings
>LogType
0. None
1. Cyperplan
>DirPath
Path to the folder where the file to be monitored is located
>FileNamePattern
"\*.\*" Regex for file search
---
### Already run example and backup
PALCYBERPAN01
```
{
"GraylogSettings" : {
"HostnameOrAddress" : "logs.pal.local",
"Port" : 12204,
"MinimumLogEventLevel": 2,
"Facility" : "CyberPlan Logs"
},
"GeneralSettings" : {
"LogType": 1,
"DirPath" : "E:\\CyberPlanWeb_Data\\cybinstance\\PLANNING\\logs",
"FileNamePattern": "debug.*.log*"
}
}
```