[Exchange 2019] SMTP Protocol logs ieder uur nieuwe file

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • Urk
  • Registratie: Maart 2000
  • Laatst online: 01:44
Een Exchange 2019 server (laatste CU) staat als volgt ingesteld:

code:
1
2
3
4
5
6
Get-TransportService | fl Send*

SendProtocolLogMaxAge           : 30.00:00:00
SendProtocolLogMaxDirectorySize : 250 MB (262,144,000 bytes)
SendProtocolLogMaxFileSize      : 25 MB (26,214,400 bytes)
SendProtocolLogPath             : F:\Exchange\Transport\SmtpSend


Toch wordt in de directory F:\Exchange\Transport\SmtpSend ieder uur een nieuwe logfile aangemaakt. Echter zijn de logfiles maar maximaal 177Kb en zou dat mijns inziens dus niet moeten gebeuren.
Logfiles worden wel maximaal 30 dagen bewaard, dus dat klopt volgens bovenstaande instelling. Ook is de logfile directory nu maar < 9MB. Bij de data modified zie je ieder uur een nieuw bestand (last modified, bijv: 8:59, daarna 9:59, daarna 10:59 and so on...)

Dus volgt Exchange 2019 nou niet hier correct de instellingen of mis ik iets.... 8)7

Heb online hier al naar gezocht maar kan geen vergelijkbaar topic hierover vinden....

Alle reacties


Acties:
  • 0 Henk 'm!

  • nelizmastr
  • Registratie: Maart 2010
  • Laatst online: 22:19

nelizmastr

Goed wies kapot

Als je de instellingen letterlijk neemt dan zeggen ze alleen hoe groot de bestanden maximaal mogen zijn. Als er een andere verborgen taak is die elk uur hoe dan ook een nieuw bestand maakt, is de maximale instelling niet zo effectief in deze use case.

Mijn vermoeden is dat het uurlijks roteren “normaal” is. Ik doe geen on-prem Exchange meer dus kan ‘t niet checken atm.

I reject your reality and substitute my own


Acties:
  • +1 Henk 'm!

  • Dennism
  • Registratie: September 1999
  • Laatst online: 00:27
@Urk

Dit lijkt normaal te zijn, komt ook voor in de documentatie:

https://learn.microsoft.c...ging?view=exchserver-2019
The naming convention for log files is SENDyyyymmddhh-nnnn.log for Send connectors and RECVyyyymmddhh-nnnn.log for Receive connectors. The placeholders represent the following information:

yyyymmddhh is the coordinated universal time (UTC) date when the log file was created. yyyy = year, mm = month, dd = day and hh = hour.

nnnn is an instance number that starts at the value 1 every hour.

Information is written to the log file until the file reaches its maximum size. Then, a new log file that has an incremented instance number is opened (the first log file is -1, the next is -2, and so on). Circular logging deletes the oldest log files when either of the following conditions is true:

A log file reaches its maximum age.

The protocol log folder reaches its maximum size.
Zoals ik het lees ieder uur een nieuwe instance, tenzij MaxFileSize eerder bereikt wordt.
Logs worden gedelete wanneer LogMaxAge bereikt is of wanneer LogMaxDirectorySize bereikt is