Articles in this section

How to fix the issue with rw-client not generating detailed logs?

Context

After running below command to enable detailed logging, we could observe detailed logs were not captured.
asinfo -v 'set-log:id=0;rw-client=detail'
There was an issue noticed in the logging configuration which was set in the below format.
logging {
        file /var/log/aerospike/aerospike.log {
            context any info
        }

        console {
            context any info
        }
}


 

Method

This can be resolved by either changing the format as below and running the same command for rw-client.
logging {
        file /var/log/aerospike/aerospike.log {
            context any info
        }

        console {
            context any info
        }
}
Else, keep the same logging configuration format and run the below command should help to capture the detailed logs.
asinfo -v 'set-log:id=1;rw-client=detail'




 

Applies To Earliest Version

5.0
Was this article helpful?
0 out of 0 found this helpful