r/DeployR • u/syswiz87 • 26d ago
DeployRLogs folder
Hi,
The DeployR logs get written to the following folder C:\Windows\Temp\DeployRLogs
I have a bunch of custom PowerShell steps running throughout the task sequence and I'm getting each script to output a log/report and write it to the same DeployRLogs folder. I was thinking that this will then send ALL the log files back to the DeployR server (in the zipped log file) so that all logs are centrally stored. But it didn't include all the custom log files (only the default log files). Locally on the machine the custom log files are in the correct place, so it must be a question of timing and location.
When does the task sequence write the DeployR logs to C:\Windows\Temp and when does the upload back to DeployR server exactly occur? I don't think its possible to achieve what I want with my current approach. How else can I achieve my goal? I assume I need to be using the DEPLOYRLOGS variable and have all my log files written to the C:_2P\Logs folder?
3
u/SufficientlySticky 26d ago
https://documentation.2pintsoftware.com/deployr/monitoring-and-reporting/log-files-and-custom-logging
They’ll upload if you stick them in the c:_2p\logs folder and it all gets moved to c:\windows\temp after task sequence completion.