Skip to content

Commit

Permalink
bug fix: fetch access logs
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed May 14, 2020
1 parent 9d235aa commit 8743fa9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plogical/virtualHostUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,7 @@ def getAccessLogs(fileName, page, externalApp):
print("0, %s file is symlinked." % (fileName))
return 0

if ProcessUtilities.decideDistro() == ProcessUtilities.centos:
groupName = 'nobody'
else:
groupName = 'nogroup'
groupName = 'nobody'

numberOfTotalLines = int(ProcessUtilities.outputExecutioner('wc -l %s' % (fileName), groupName).split(" ")[0])

Expand Down

0 comments on commit 8743fa9

Please sign in to comment.