This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: add support for logging to a vsock port
not all the hypervisors connect a socket to /dev/console, so it's no possible to get the agent's logs from a unix socket. This patch is to connect the logger (logrus) to a vsock port, this way the logs can be read in the host using vsocks or hybrid vsocks. fixes #652 Signed-off-by: Julio Montes <[email protected]>
- Loading branch information
Julio Montes
committed
Oct 3, 2019
1 parent
a03e23b
commit 95be1c3
Showing
2 changed files
with
62 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters