mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
removed syslog in favor of common module logging functions
This commit is contained in:
parent
682cb99d45
commit
d55ba3ab7c
6 changed files with 12 additions and 56 deletions
|
@ -26,7 +26,6 @@ import traceback
|
|||
import os
|
||||
import yum
|
||||
import rpm
|
||||
import syslog
|
||||
import platform
|
||||
import tempfile
|
||||
import shutil
|
||||
|
@ -169,10 +168,6 @@ BUFSIZE = 65536
|
|||
|
||||
def_qf = "%{name}-%{version}-%{release}.%{arch}"
|
||||
|
||||
def log(msg):
|
||||
syslog.openlog('ansible-yum', 0, syslog.LOG_USER)
|
||||
syslog.syslog(syslog.LOG_NOTICE, msg)
|
||||
|
||||
def yum_base(conf_file=None):
|
||||
|
||||
my = yum.YumBase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue