get-logs

Output webserver logs for a domain Given a domain name with the --domain flag, this command outputs some or all of it’s Apache access or error log. The log file to display can be selected with the --access-log, --error-log or --ftp-log flag, and the number of lines to output can be limited with the --tail flag followed by a line count. Command line help virtualmin get-logs --domain name --access-log | --error-log | --ftp-log [--tail lines]

Output webserver logs for a domain#

Given a domain name with the --domain flag, this command outputs some or all of it’s Apache access or error log. The log file to display can be selected with the --access-log, --error-log or --ftp-log flag, and the number of lines to output can be limited with the --tail flag followed by a line count.

Command line help#

virtualmin get-logs --domain name
 --access-log | --error-log | --ftp-log
 [--tail lines]

Source: https://www.virtualmin.com/docs/development/api-programs/get-logs/

  • virtualmin, apache, domain, ftp, log, logs, command line, error
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...