A Service of Softnik Technologies

Log File Management

list

Parameter Notes
c admin
t log
oper list
?c=admin&t=log&oper=list
{
    "status": "ok",
    "error": "",
    "validate": 0,
    "data": [
        "clilog_2019-01-22.txt",
        "clilog_2019-01-23.txt",
        "clilog_2019-01-26.txt",
        "clilog_2019-01-27.txt",
        "clilog_2019-01-29.txt",
        "clilog_2019-01-30.txt",
        "clilog_2019-01-31.txt",
        "weblog_2019-01-22.txt",
        "weblog_2019-01-23.txt",
        "weblog_2019-01-24.txt",
        "weblog_2019-02-04.txt",
        "weblog_2019-02-05.txt",
        "weblog_2019-02-06.txt",
        "weblog_2019-02-07.txt"
    ],
    "folder": "\/Users\/CodePunch\/sites\/local.codepunch.com\/dev\/wmdsed4\/logs"
}

get

Parameter Notes
c admin
t log
oper get
name The log file to get
?c=admin&t=log&oper=get&name=weblog_2019-01-22.txt
{
    "status": "ok",
    "error": "",
    "validate": 0,
    "data": "[2019-01-22 14:11:42.258569] [error] Session has expired or is not valid
	...
	...
	}

del

Parameter Notes
c admin
t log
oper del
name The log file to delete
?c=admin&t=log&oper=del&name=weblog_2019-01-22.txt
{
    "status": "ok",
    "error": "",
    "validate": 0
}