我的windows服务器上有一个powershell脚本运行一个SSIS包,它使用一个xml配置输出到一个日志文件。有时,当我运行这个脚本时,日志文件的输出似乎没有正确地写入日志,而且在编写过程中,powershell脚本似乎在日志的每个字符之间插入了空格。正常输出示例:
Microsoft (R) SQL
2: USB disconnect, address 3
Aug 27 08:36:55 pc08 kernel: [ 1804.208042] usb 5-2: new low speed USB devicekernel: [ 1804.400743] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/i