removed clear log, doesnt work with logrotate-stream

This commit is contained in:
barisusakli
2014-10-13 13:01:16 -04:00
parent e699c02b65
commit 3c25204fdd
2 changed files with 0 additions and 25 deletions

View File

@@ -241,11 +241,6 @@ function getHourlyStatsForSet(set, hours, callback) {
});
}
SocketAdmin.clearLog = function(socket, data, callback) {
var logPath = path.join('logs', path.sep, 'output.log');
fs.truncate(logPath, callback);
};
SocketAdmin.getMoreEvents = function(socket, next, callback) {
if (parseInt(next, 10) < 0) {
return callback(null, {data: [], next: next});