You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way truncating is implemented does not work when file is open by another process.
VERBOSE: Truncating C:\sauce-connect\logs\sc.log
Process-Local-Block : Exception calling "RotateMainOnly" with "0" argument(s): "Exception calling "WriteAllText" with "2" argument(s
): "Proces nie może uzyskać dostępu do pliku „C:\sauce-connect\logs\sc.log”, ponieważ jest on używany przez inny proces.""
At C:\Program Files\WindowsPowerShell\Modules\Log-Rotate\1.6.1\public\Log-Rotate.ps1:207 char:13
+ Process-Local-Block -block $block @blockoptions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], MethodInvocationException
+ FullyQualifiedErrorId : ScriptMethodRuntimeException,Process-Local-Block
The text was updated successfully, but these errors were encountered:
mmatczuk
added a commit
to mmatczuk/Log-Rotate
that referenced
this issue
Jun 26, 2024
The way truncating is implemented does not work when file is open by another process.
The text was updated successfully, but these errors were encountered: