LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-15-2023, 08:24 AM   #1
IlyaShmel
LQ Newbie
 
Registered: Dec 2021
Posts: 3

Rep: Reputation: Disabled
Thumbs down How to configure virtual-manager to move virt-manager.log into the another directory?


Hello!
I run the virtual machines via Virtual Machine Manager 4.1.0 on Fedora 38 Workstation.

I ought to send virt-manager.log through the rsyslog service to a remote server.

But I can't because the logfile is located in the
Code:
/home/$USER/.cache/virt-manager/
directory. I'm positive that all logs must be in the
Code:
/var/log/
directory.

Where could I read the info abot the virt-manager configuration?

The current directory raises that error:

Code:
rsyslogd[2517]: imfile: on startup file '/home/ilya/.cache/virt-manager/virt-manager.log' does not exist but is configured in static file monitor - this may indicate a misconfiguration. If the file appears at a later time, it will automatically be processed. Reason: Permission denied [v8.2112.0]
.

Last edited by IlyaShmel; 09-15-2023 at 08:38 AM.
 
Old 09-15-2023, 11:53 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
virt-manager uses the libvirt/libvirtd backend management. That means you adjust the logging in the libvirt confd file. That said, I see no log location override in that file on my machine. You may have to actually read the documentation.

Last edited by wpeckham; 09-15-2023 at 11:56 AM.
 
Old 09-25-2023, 02:23 AM   #3
IlyaShmel
LQ Newbie
 
Registered: Dec 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
virt-manager uses the libvirt/libvirtd backend management. That means you adjust the logging in the libvirt confd file. That said, I see no log location override in that file on my machine. You may have to actually read the documentation.
The virt-manager's documentation is extremely poor: GitHub Docs, virt-manager.org.

As far as I understood the
Code:
libvirtd.conf
file can configure the
Code:
libvirt.log
. But I need the
Code:
virtual-manager.log
.

Last edited by IlyaShmel; 09-25-2023 at 02:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install and Use virt-manager Virtual Machine Manager in Ubuntu and Other Linux LXer Syndicated Linux News 0 11-11-2020 10:12 PM
[SOLVED] installing virt-manager and virt-viewer on desktop for managing remote server yvesjv Slackware 4 04-24-2019 03:00 PM
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration