• 9
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Logrotate not working with “daily”

Below is my logrotate configuration.I was not able to get the logrotate work using

"sudo /usr/sbin/logrotate /etc/logrotate.conf".But if I execute "sudo logrotate -f /etc/logrotate.conf" it is creating the log file as expected.

/var/log/test/test.log {
    daily
    dateext
    dateformat .%Y-%m-%d
    rotate 4
    copytruncate
    compress
    compressext .tar.gz
    missingok
    notifempty
}

Can anyone help me solve this issue?.i am using Ubuntu14.04 operating system.

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags