Monitoring and reporting for Veeam Data Platform
Post Reply
hadus
Service Provider
Posts: 71
Liked: 4 times
Joined: Jan 07, 2019 7:28 am
Full Name: Martin Jeppesen
Contact:

Log location on VBR

Post by hadus »

Is there any way to change the location of logs gathered on VBR during "Log Analysis session"?

From what we have gathered, this process starts at 07:00 in the morning and gathers a lot of log files from repository servers. Maybe others also, we just noticed the repository server. During this process, approximately 130GB logs are gathered and has a tendency to trigger low space warnings from the VBR servers system drive.

As of now, the process occupies space in:
c:\users\<username>\appdata\local\temp\VID\57\VeeamSupportlogs\2024-05-07-xxxxxxxx

Granted, the process cleans up and remove the files when it is done. But we would rather not have it on system drive to begin with.

Any ideas?

Thanks.
david.domask
Veeam Software
Posts: 3279
Liked: 766 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Log location on VBR

Post by david.domask » 2 people like this post

Hi Martin,

Sure, set the following registry value on the Veeam Backup and Replication Server:

Name: LogAnalyzerTempFolder
Type: REG_SZ
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam ONE Monitor\VID\

Set the value to a desired path on the VBR server itself, be sure to add a trailing slash "\" at the end.

Correct: C:\temp\logs\
Incorrect: C:\temp\logs
David Domask | Product Management: Principal Analyst
hadus
Service Provider
Posts: 71
Liked: 4 times
Joined: Jan 07, 2019 7:28 am
Full Name: Martin Jeppesen
Contact:

Re: Log location on VBR

Post by hadus »

Thanks david.domask, I'll try that asap. 👍
hadus
Service Provider
Posts: 71
Liked: 4 times
Joined: Jan 07, 2019 7:28 am
Full Name: Martin Jeppesen
Contact:

Re: Log location on VBR

Post by hadus »

Update: the path and keys do not exist at this time
Im guessing I can go ahead and add the keys manually?

Image
david.domask
Veeam Software
Posts: 3279
Liked: 766 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Log location on VBR

Post by david.domask »

Hi Martin,

Yep, just create the keys + value, and then should be fine :) No need for service restarts as far as I'm aware, just give it a little time (15 minutes is safe bet) and it should be good to go, you can test with a manual analysis and check that the correct temp folder is used.
David Domask | Product Management: Principal Analyst
hadus
Service Provider
Posts: 71
Liked: 4 times
Joined: Jan 07, 2019 7:28 am
Full Name: Martin Jeppesen
Contact:

Re: Log location on VBR

Post by hadus » 1 person likes this post

Works like a charm! 👍
Log files now go exactly where we want them. Thank you.
david.domask
Veeam Software
Posts: 3279
Liked: 766 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Log location on VBR

Post by david.domask »

Glad to hear it worked out! Always welcome :)
David Domask | Product Management: Principal Analyst
popjls
Enthusiast
Posts: 59
Liked: 5 times
Joined: Jun 25, 2018 3:41 am
Contact:

Re: Log location on VBR

Post by popjls »

Having the same issue and following this on the Veeam One server doesn't work:

https://www.veeam.com/kb4584

Changing the log files directory in the registry on the Veeam One server only does not move the VID location, the logs still go to the default location. Does this need to be changed on the VBR as well? Why is this not a checkbox/setting in the preferences.
david.domask
Veeam Software
Posts: 3279
Liked: 766 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Log location on VBR

Post by david.domask »

Hi popjls,

> only does not move the VID location, the logs still go to the default location

Not fully getting what you wrote here; the KB article and the config parameter are about changing the location for Veeam Intelligent Diagnostics to work with both on the source backup server you're analyzing and on Veeam One itself.

When you say "the logs still go to the default location", you mean the general service logs for Veeam / Veeam One or specifically the logs being analyzed by Veeam Intelligent Diagnostic?
David Domask | Product Management: Principal Analyst
popjls
Enthusiast
Posts: 59
Liked: 5 times
Joined: Jun 25, 2018 3:41 am
Contact:

Re: Log location on VBR

Post by popjls »

The VID logs don't move to the new location even if you set the registry key to the new location, reboot the server.....the new logs created still go to the default location of C:\Users\<username>\AppData\Local\Temp\VID. My question was why does this not work after applying the registry key outlined in the article on the Veeam One server? And why can't this just be a simple config change in the GUI? Seems odd to not offer that.
david.domask
Veeam Software
Posts: 3279
Liked: 766 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Log location on VBR

Post by david.domask »

Got it, please open a Support Case and let Veeam Support review the situation -- to my knowledge the KB article is still valid, so best to review why it's not working.

>And why can't this just be a simple config change in the GUI? Seems odd to not offer that.

Will discuss internally on this, for now please proceed with a Support Case to check the behavior as prescribed. Please share your case number once created, thanks!
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests