Last two weeks I see new (never occurred before) errors in the eventlog of On-premises data gateway service.
The error seems to refer to a write or read accessissue to a new logfile. The error seems intermittent. Some logfiles are created.
Gateway20180529.000000001.log is created.
Gateway20180529.000000000.log does not exist
Who knows what’s happening?
(We are keen of having our logfiles being updated due to other errors we are trying to fix. Restaring the windowsservice results in writing the logfiles again. But it is not really preferable to restart our productieopn gateway for this ;-))
"Rotate Log File failed: Could not find file 'C:\Users\_sa_da_PBIEgService\AppData\Local\Microsoft\On-premises data gateway\Gateway20180529.000000000.log'. StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at Microsoft.PowerBI.DataMovement.Pipeline.Common.RotatableFileStream.RotateIfNeeded()"