]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Rotate log channels. 88/988/5
authorBenjamin Ford <bford@digium.com>
Wed, 29 Jul 2015 19:17:09 +0000 (14:17 -0500)
committerBenjamin Ford <bford@digium.com>
Fri, 31 Jul 2015 16:43:47 +0000 (11:43 -0500)
commit1ae762634c317fbcbd98a8c34d2474f7d4b654ed
tree84127e860a5d60a43d64d4a589546dfba157d323
parentf78a4b52b8ed7b5b367c3465652a7ce98fe9175d
ARI: Rotate log channels.

An http request can be sent to rotate a specified log channel.
If the channel does not exist, an error response will be
returned.

The command "curl -v -u user:pass -X PUT 'http://localhost:8088
/ari/asterisk/logging/logChannelName/rotate'" can be run in the
terminal to access this new functionality.

* Added the ability to rotate log files through ARI

ASTERISK-25252

Change-Id: Iaefa21cbbc1b29effb33004ee3d89c977e76ab01
CHANGES
include/asterisk/logger.h
main/logger.c
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/ari/resource_asterisk.c
res/ari/resource_asterisk.h
res/res_ari_asterisk.c
rest-api/api-docs/asterisk.json