Contents
show off
Log micropvr
All messages have a four-digit code, with the first digit of the code denoting the module:
- 1 - other messages.
- 2 - API messages.
- 3 - DBMS messages.
- 4 Task Manager (TASK MANAGER).
- 5 Recording Process Manager (RECORDER MANAGER).
- 6 Record file manager (RECORDS MANAGER).
Messages with x0xx format refer to the micropvr startup process.
| Code | Format | Description | Level | Example |
| 1000 | MicroPVR Manager | beginning of MicroPVR Manager Launch | INFO | Wed Mar 15 14:37:03 2017 INFO INIT main[13521]: (1000) MicroPVR Manager |
| 1001 | %module started | start message of the %module module | INFO | Wed Mar 15 14:37:04 2017 INFO INIT main[13521]: (1001) TASKS MANAGER started |
| 1003 | configuration loading failed, use defaults | error reading configuration, will use default settings | ERROR | Wed Mar 15 14:40:00 2017 ERROR INIT main[21013]: (1003) configuration loading failed, use defaults |
| 1004 | configuration is loaded | configuration successfully read and applied | INFO | Wed Mar 15 14:40:00 2017 INFO INIT main[21013]: (1004) configuration is loaded |
| 1005 | objects not created | initialization error of any module | CRITICAL | Wed Mar 15 14:41:00 2017 CRITICAL INIT StartRecordersManager[21013]: (1005) objects not created |
| 1006 | reading tasks | start the process of reading tasks from the configuration | INFO | Wed Mar 15 14:37:04 2017 INFO INIT main[13521]: (1006) reading tasks |
| 2000 | binding | beginning of API initialization | INFO | Wed Mar 15 14:40:01 2017 INFO API StartTCPServer[21013]: (2000) binding methods |
| 2001 | API init fail: % | aPI launcher | CRITICAL | Wed Mar 15 14:41:00 2017 CRITICAL INIT StartTCPServer[21013]: (2001) API init fail: port binding fail |
| 2002 | bind ok | aPI initialization completed | INFO | Wed Mar 15 14:40:01 2017 INFO API StartTCPServer[21013]: (2002) bind ok |
| 3000 | id generator init failure | failure to start the task identifier generator | CRITICAL | Thu Mar 16 16:55:52 2017 CRITICAL GENERIC DB DBTaskNumberGenerator[13321]: (3000) id generator init failure |
| 3001 | check if column %col. exists in %table | messages of verification of compliance with the database tables of the current version | INFO | Wed Mar 15 14:40:00 2017 INFO GENERIC DB CheckColumnExists[21013]: check if column channelName exists in TasksTMTable |
| 3002 | migrate, % | migration report | WARNING | Thu Mar 16 16:55:52 2017 WARNING GENERIC DB Migrate_version_1_5_0b[13321]: (3002) migrate, set duration = stopTimestamp - startTimestamp in tasks |
| 4000 | load all tasks to queue | start loading tasks from the DB | INFO | Wed Mar 15 14:40:00 2017 INFO TASKS MANAGER LoadAll[21013]: (4000) load all tasks to queue |
| 5000 | load recorder from DB | recording | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDERS MANAGER FillWatchlistFromDB[21013]: (5000) load recorder from DB: task_id = 992283, channel_id = 1, channel_name = channel_1 |
| 5001 | can't start task, postpone | it is not possible to start recording now, the task is postponed | WARNING | Wed Mar 15 14:40:01 2017 WARNING RECORDERS MANAGER FillWatchlistFromDB[21013]: (5001) can't start task, postpone: task_id = 992283, channel_id = 1, channel_name = channel_1 |
| 5002 | task was not started | recording information was in the database but no recorder process information; a new recorder process will be launched | WARNING | Wed Mar 15 14:40:01 2017 WARNING RECORDERS MANAGER FillWatchlistFromDB[21013]: (5002) task was not started: task_id = 992283, channel_id = 1, channel_name = channel_1 |
| 6000 | record added to watchlist from DB | record file added to watch list | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER TryAddToWatchlistFromDB[21013]: (6000) record added to watchlist from DB: task_id = 992283, channel_id = 1, channel_name = channel_1. |
| 6001 | can't add record to watchlist: %s | failure to add a file to the surveillance list | WARNING | Wed Mar 15 14:40:01 2017 WARNING RECORDS MANAGER TryAddToWatchlistFromDB[21013]: (6001) can't add record to watchlist: task with ID 992283 does not exist in DB. |
| 1200 | configuration has been loaded | readout | INFO | Wed Mar 15 14:40:00 2017 INFO CONFIG CONTROL LoadConfigs[21013]: (1200) configuration has been loaded |
| 1201 | error read config file: % | error reading configuration file | ERROR | Wed Mar 15 14:40:00 2017 ERROR CONFIG CONTROL ReadConfig[21013]: (1201) file /etc/micropvr/micropvr.conf was not found |
| 1202 | configuration parsing failed: % | jSON object parsing error in configuration file | ERROR | Wed Mar 15 14:40:00 2017 ERROR CONFIG CONTROL ReadConfig[21013]: (1202) configuration parsing failed: config root is non-object |
| 1203 | configuration parsing completed | jSON configuration object analysis successfully completed | INFO | Wed Mar 15 14:40:00 2017 INFO INIT Check[21013]: (1203) configuration parsing completed |
| 1204 | backup config, file name: %file | backup configuration from the %file file | DEBUG | Wed Mar 15 14:40:00 2017 DEBUG CONFIG CONTROL BackupConfig[21013]: (1204) backup config, file name: /etc/micropvr/micropvr.conf |
| 1205 | try to backup config, backup file name: %file | configuration backup to %file file | INFO | Wed Mar 15 14:40:00 2017 INFO CONFIG CONTROL BackupConfig[21013]: (1205) try to backup config, backup file name: /etc/micropvr/micropvr.conf-2016-12-19-19-16:37:49 |
| 1206 | backup error: % | cockpit | WARNING | Wed Mar 15 14:40:00 2017 WARNING CONFIG CONTROL BackupConfig[21013]: (1206) backup error: can't write file /etc/micropvr/micropvr.conf-2016-12-19-16:37:49 |
| 1207 | config write error: % | configuration file recording error | WARNING | Wed Mar 15 14:40:00 2017 WARNING CONFIG CONTROL WriteConfig[21013]: (1207) config write error: can't write file /etc/micropvr.conf |
| 2100 | API %method: %params | call %method with %params parameters | DEBUG | Wed Mar 15 15:52:23 2017 DEBUG API CancelTask[21013]: (2100) API cancel_task: channel_id = 110, record_location = |
| 2101 | API %method error (%code): % | %method error, %code error | WARNING | Wed Mar 15 15:52:23 2017 INFO API CancelTask[21013]: (2101) API cancel_task fail (101): empty 'params' object |
| 2102 | API %method result: % | method-call | DEBUG | Wed Mar 15 15:52:23 2017 INFO API CancelTask[21013]: (2102) API cancel_task fail (101): empty 'params' object |
| 2103 | incorrect %param: %i | message to check the parameters of the method create_new_task about the incorrect parameter | WARNING | Wed Mar 15 15:52:23 2017 INFO API CreateNewTask[21013]: (2103) incorrect channel_id: -1 |
| 2104 | missed parameter: %param | message to check the parameters of the create_new_task method about the missed mandatory parameter | WARNING | Wed Mar 15 15:52:23 2017 INFO API CreateNewTask[21013]: (2104) missed parameter: channel_id |
| 3100 | % | error | ERROR | Thu Mar 16 16:55:52 2017 ERROR GENERIC DB FillList[13321]: (3100) error when reading from DB |
| 3101 | % | request | EXTENDED | Thu Mar 16 16:55:52 2017 EXTENDED GENERIC DB SendQuery[13321]: (3101) UPDATE TasksTMTable SET taskStatus=11 WHERE taskID=1006750 |
| 3102 | DB are empty | no entries in the database (when requesting content) | WARNING | Thu Mar 16 16:55:52 2017 WARNING GENERIC DB GetFileOffset[13321]: (3102) DB are empty |
| 3103 | incorrect task in DB | the task has no identifier or is incorrect | ERROR | Thu Mar 16 16:55:52 2017 WARNING GENERIC DB GetFileOffset[13321]: (3103) DB are empty |
| 3104 | attempt already write present task with file_name = %file | in the database there is already a recorder with this file name | WARNING | Thu Mar 16:55:52 2017 WARNING GENERIC DB NoDuplicationCheck[13321]: (3104) attempt write already present task with file_name = /tmp/pvr/ch_63/ file_location = /tmp/pvr/ch_63/ch_id-63_time-1489461902_task_id-96 2733.ts |
| 3105 | cancel task write task_id = %ID initialize incorrect | attempting to write an incorrect task, for example, if the recording start time is longer than the end time | ERROR | Thu Mar 16 16:55:52 2017 ERROR GENERIC DB WriteTask[13321]: (3105) cancel task write task_id = 962733 initialize incorrect |
| 4100 | task execution started: task_id = %ID | new task, identifier %ID | INFO | Tue Mar 14 06:25:17 2017 INFO TASKS MANAGER MainThread[18527]: (4100) task execution started: task_id = 962679 |
| 4101 | task is being postponed: task_id = %ID | performing the %ID task postponed | WARNING | Wed Mar 15 15:43:03 2017 WARNING TASKS MANAGER PostponeTask[21013]: (4101) task is being postponed: task_id = 993388 |
| 4102 | postponing has failed: task_id = %ID, channel_id = %channel | the task will not be delayed due to an error, manual restart may be required | ERROR | Wed Mar 15 15:43:03 2017 ERROR TASKS MANAGER PostponeTask[21013]: task is being postponed: (4102) task_id = 993388, channel_id = 1 |
| 4103 | try to repeat task: task_id = %ID, channel_name = %name, channel_id = %channel | restart the periodic task | INFO | Wed Mar 15 06:25:03 2017 INFO TASKS MANAGER RepeatTask[18527]: (4103) try to repeat task: task_id = 985130, channel_name = name, channel_id = 65 |
| 4104 | repeat has failed: task_id = %ID | re-start periodic task error may require manual restart | ERROR | Wed Mar 15 06:25:03 2017 ERROR TASKS MANAGER RepeatTask[18527]: (4104) repeating has failed: task_id = 985130, channel_name = name, channel_id = 65 |
| 4105 | task completed: task_id = %ID, channel_name = %name, channel_id = %channel | task completion | INFO | Tue Mar 14 06:26:01 2017 INFO TASKS MANAGER FinalizeTask[18527]: (4105) task completed: task_id = 962585, channel_name = name, channel_id = 2 |
| 4106 | task repeated, skip | attempting to run a task that has already been restarted; perhaps the recording time is too short | WARNING | Wed Mar 15 15:44:10 2017 INFO TASKS MANAGER ExecuteTask[21013]: (4106) task repeated, skip: channel_id: 87, channel_name: name, location: /tmp/pvr/ch_87, task_id: 993525 |
| 4107 | task is not new, skip | attempting to start a task that is not new | WARNING | Wed Mar 15 15:44:10 2017 INFO TASKS MANAGER ExecuteTask[21013]: (4107) task is not new, skip: channel_id:87, channel_name: name, location: /tmp/pvr/ch_87, task_id: 993525 |
| 4108 | execute | start-up | INFO | Wed Mar 15 14:40:01 2017 INFO TASKS MANAGER ExecuteTask[21013]: (4108) execute task: channel_id: 9, channel_name: name, location: /tmp/pvr/ch_9, task_id: 992849. |
| 4109 | null cancel request skipped | attempt to fulfill an empty request to cancel the task | WARNING | Wed Mar 15 15:49:43 2017 WARNING TASKS MANAGER CancelTasksByMask[21013]: (4109) null cancel request skipped |
| 4110 | cancel task with ID %ID | cancellation of the %ID task | INFO | Wed Mar 15 15:49:43 2017 INFO TASKS MANAGER CancelTasksByMask[21013]: (4110) cancel task with ID 992849 |
| 4111 | cancel tasks and stop record for channel_id%channel and location%loc | cancel all tasks to write %channel to %loc | INFO | Wed Mar 15 15:49:43 2017 INFO TASKS MANAGER CancelTasksByMask[21013]: (4111) cancel tasks and stop record for channel_id 1 and location |
| 4112 | generate new tasks | generation of a new task for periodic tasks | INFO | Tue Mar 14 06:25:03 2017 INFO TASKS MANAGER GenerateNewTask[18527]: (4112) generate new task: task_id = 962735, channel_id = 65, channel_name = name, start_timestamp = 1489461903, stop_timestamp = 1489462329, real duration is 426 |
| 4113 | delete task from storage: task_id = %ID | removal | INFO | Tue Mar 14 06:26:01 2017 INFO TASKS MANAGER DeleteTaskFromStorageByID[18527]: (4113) delete task from storage: task_id = 962585 |
| 4114 | new task add | add-on | INFO | Tue Mar 14 06:25:03 2017 INFO TASKS MANAGER AddTaskIntoStorage[18527]: (4114) new task add: task_id = 962735, channel_id = 65, channel_name = name, start_timestamp = 1489461903, stop_timestamp = 1489462329, real duration is 426 |
| 4115 | generate delayed task | generation | WARNING | Wed Mar 15 15:43:02 2017 WARNING TASKS MANAGER GeneratePostponedTask[21013]: (4115) generate postponed task: task_id = 993498, channel_id = 20, channel_name = name, start_timestamp = 1489581842, stop_timestamp = 1489581843, real duration is 1 |
| 4116 | can't generate delayed tasks | delayed task generation error: start time is longer and equal to stop time | WARNING | Wed Mar 15 15:43:03 2017 WARNING TASKS MANAGER GeneratePostponedTask[21013]: (4116) can't generate postponed task: task_id = 993499, channel_id = 21, channel_name = name, start_timestamp = 1489581843, stop_timestamp = 1489581843, real duration is 0 |
| 4117 | get the job list | request | DEBUG | Wed Mar 15 15:43:03 2017 DEBUG TASKS MANAGER GetTasksList[21013]: (4117) get tasks list |
| 5100 | can't create folder %loc, task %ID will be postponed | directory error of %loc | ERROR | Tue Mar 14 06:25:03 2017 ERROR RECORDERS MANAGER MainThread[18527]: (5100) can't create folder /tmp/pvr/ch_63/, task 12314 will be postponed |
| 5101 | starting record: task_id = %ID, channel_id = %channel | start of recording | INFO | Tue Mar 14 06:25:03 2017 INFO RECORDERS MANAGER MainThread[18527]: (5101) starting record: task_id = 962733, channel_id = 63 |
| 5102 | can't cancel record: %s | write-off | WARNING | Tue Mar 14 06:25:03 2017 WARNING RECORDERS MANAGER StopRecordersByMask[18527]: (5102) can't cancel record: no task with ID 962733 |
| 5103 | cancelled record | recording stopped, recorder process completed | INFO | Wed Mar 15 15:49:43 2017 INFO RECORDERS MANAGER StopRecordersByMask[21013]: (5103) record cancelled: task_id = 993428, channel_id = 1, record_location = /tmp/pvr/ch_1 |
| 5104 | cancelling record: channel_id = %channel, record_location = %loc | stop all recorder processes for %channel channel and %loc directory, if %loc is empty for all directories | INFO | Wed Mar 15 15:49:43 2017 INFO RECORDERS MANAGER StopRecordersByMask[21013]: (5104) cancelling record: channel_id = 1, record_location = |
| 5105 | kill recorder with pid %pid | completion | INFO | Tue Mar 14 06:26:01 2017 INFO RECORDERS MANAGER StopRecorder[18527]: (5105) kill recorder with pid 26796 |
| 5106 | can't kill PID %pid: %s | failure | CRITICAL | Tue Mar 14 06:26:01 2017 CRITICAL RECORDERS MANAGER StopRecorder[18527]: (5106) can't kill PID 1390: process does not have permission |
| 5107 | recorder with pid %pid still alive, use -9 | completion of the process with SIGKILL assistance | WARNING | Tue Mar 14 06:26:01 2017 WARNING RECORDERS MANAGER StopRecorder[18527]: (5107) recorder with pid 26796 still alive, use -9 |
| 5109 | fork failed | vfork call error() | CRITICAL | Tue Mar 14 06:26:01 2017 WARNING RECORDERS MANAGER StartRecorder[18527]: (5109) fork failed |
| 5110 | recorder is starting: run cmd: %s | start of the recorder process | DEBUG | Tue Mar 14 06:25:03 2017 DEBUG RECORDERS MANAGER StartRecorder[12264]: (5110) recorder is starting: run cmd: fake_recorder -f "/tmp/pvr/ch_63/ch_id-63_time-1489461902_task_id-9 62733.ts" -i "udp://// 1.1.1.1" -t 430 -p "/var/run/micropvr/recorder_ch63_962733.pid" -l "/var/log/micropvr/recorder.log" >/dev/null 2>/dev/null </dev/null & |
| 5111 | recorder started: task_id = %ID | recorder successfully launched | INFO | Tue Mar 14 06:25:03 2017 INFO RECORDERS MANAGER CheckRecorders[18527]: (5111) recorder started: task_id = 962729, channel_id = 59, channel_name = name |
| 5112 | failed to start recorder, postponed: task_id = %ID | recorder was not started before the timeout, the task restarted | ERROR | Wed Mar 15 15:42:40 2017 ERROR RECORDERS MANAGER CheckRecorders[21013]: (5112) failed to start recorder, postpone: task_id = 993427, channel_id = 100, channel_name = name |
| 5113 | recorder is dead, restarting: task_id = %ID | recorder ended unexpectedly and will run again, the task is not restarted | WARNING | Wed Mar 15 15:42:31 2017 WARNING RECORDERS MANAGER CheckRecorders[21013]: (5113) recorder is dead, restarting: task_id = 993427, channel_id = 100, channel_name = name |
| 5114 | record completed: task_id = %ID | recording completed | INFO | Tue Mar 14 06:26:01 2017 INFO RECORDERS MANAGER CheckRecorders[18527]: (5114) record completed: task_id = 962585, channel_id = 2, channel_name = name |
| 5115 | creating locaton%location | creating a %loc directory | DEBUG | Tue Mar 14 06:26:01 2017 DEBUG RECORDERS MANAGER CreateFolderIfNotExist[18527]: (5115) creating locaton /tmp/pvr/ch_63/ |
| 5116 | failed to make dir %loc: % | directory error of %loc | ERROR | Tue Mar 14 06:26:01 2017 ERROR RECORDERS MANAGER CreateFolderIfNotExist[18527]: (5116) failed to make dir /tmp/pvr/ch_63/: No such file or directory |
| 5117 | get recorders list | getting a list of active recorder processes | DEBUG | Tue Mar 14 06:26:01 2017 DEBUG RECORDERS MANAGER GetRecordersList[18527]: (5117) get recorders list |
| 6100 | can't remove record: %s | misspelling | WARNING | Wed Mar 15 14:38:41 2017 WARNING RECORDS MANAGER RemoveOutdatedRecordFromStorage[18527]: (6100) file was removed, but record still in DB: can't remove record: no task with ID 990548 |
| 6101 | file was removed, but record still in DB: %file | the %file file was deleted, but the database entry was not deleted | WARNING | Wed Mar 15 14:38:41 2017 WARNING RECORDS MANAGER RemoveOutdatedRecordFromStorage[18527]: (6101) file was removed, but record still in DB: /tmp/pvr/ch_47/ch_id-47_time-1489568816_task_id-99 0548.ts |
| 6102 | remove record %file | record deleted | INFO | Wed Mar 15 14:38:41 2017 INFO RECORDS MANAGER RemoveOutdatedRecordFromStorage[18527]: (6102) remove record /tmp/pvr/ch_47/ch_id-47_time-1489568816_task_id-99 0548.ts |
| 6103 | record in watchlist already: task_id = %ID | attempting to add a file to the surveillance list | WARNING | Tue Mar 14 06:25:03 2017 WARNING RECORDS MANAGER AddToWatchlist[18527]: (6103) record in watchlist already: task_id = 962735 |
| 6104 | record added to watchlist: task_id = %ID | note added to watch list | INFO | Tue Mar 14 06:25:03 2017 INFO RECORDS MANAGER AddToWatchlist[18527]: record added to watchlist: (6104) task_id = 962735, channel_id = 65 |
| 6105 | record removed from watch list: task_id = %ID, channel_id = %channel | file removed from surveillance list due to completion or cancellation of recording | INFO | Tue Mar 14 06:26:01 2017 INFO RECORDS MANAGER RemoveRecordFromWatchList[18527]: (6105) record from watch list: task_id removed = 962585, channel_id = 2 |
| 6106 | can't add to storage: task_id = %ID, channel_id = %channel | file insertion error | WARNING | Tue Mar 14 06:26:01 2017 WARNING RECORDS MANAGER AddToStorage[18527]: (6106) can't add to storage: task_id = 962585, channel_id = 2 |
| 6107 | try to allocate in %loc, available space = %n bytes | attempt to reserve space in %loc | INFO | Tue Mar 14 06:26:01 2017 INFO RECORDS MANAGER TryToAddTaskToStorage[18527]: (6107) try to allocate in/, available space = 400938810038 bytes |
| 6108 | no free space in %loc, task postponed | %loc is not enough free space to reserve the file, the task is postponed | WARNING | Tue Mar 14 06:26:01 2017 INFO RECORDS MANAGER TryToAddTaskToStorage[18527]: (6108) no free space in /, task postponed: task_id: 19693, channel_id: 2, critical space level: 1800,000,000 available space: 1902124086 |
| 6109 | %loc, free space: %n, real free space: %n, reserved: %n | messages monitoring free board space at the mounting point %loc; free space - the amount of available space, reserved - the amount of reserved space, real free space - the actual amount of free space on the disk | DEBUG | Wed Mar 15 14:38:40 2017 DEBUG RECORDS MANAGER LogFreeSpace[18527]: (6109) / - free space: 410186887168, real free space: 410186887168, reserved: 0 |
| 6110 | %loc, real free space: %n | free disk space monitoring messages at %loc mounting point at recorder_check_free_space = false | DEBUG | Wed Mar 15 14:35:00 2017 DEBUG RECORDS MANAGER LogFreeSpace[18527]: (6110) / - real free space: 410186887168 |
| 6111 | reserve %n bytes in %loc, %m bytes left | %n bytes were reserved at %loc mounting point | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER ReserveSpace[21013]: (6111) reserve 5242880000 bytes in /, 404935340032 bytes left |
| 6112 | mountpoint for %loc not found | mounting point not found | ERROR | Wed Mar 15 14:40:01 2017 ERROR RECORDS MANAGER AddMountpoint[21013]: (6112) mountpoint for/not found |
| 6113 | new mountpoint %loc added, free space = %n bytes | added a new mounting point | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER AddMountpoint[21013]: (6113) new mountpoint / added, free space = 410178220032 bytes. |
| 6114 | file size check: %file, %n bytes | file size monitoring messages from the surveillance list | DEBUG | Wed Mar 15 14:38:40 2017 DEBUG RECORDS MANAGER CheckWritingFilesSizes[18527]: (6114) file size check: ch_id-97_time-1489577821_task_id-992897, 0 bytes |
| 6115 | try to remove something outdated in mount point %loc | attempt to immediately delete an outdated file due to lack of disk space | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER RemoveOutdatedRecordsOnMount[21013]: (6115) try to remove something outdated in mount point / |
| 6116 | no old file was found in %loc | no outdated files in the %loc directory | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER RemoveOutdatedRecordsOnMount[21013]: (6116) no outdated file was found in / |
| 6117 | remove records with channel ID: %channel and max start timestamp: %ts | delete all files with ID %channel and startup time not older than %ts | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER RemoveRecords[21013]: (6117) remove records with channel ID: 2 and max start timestamp: 1489012032 |
| 6118 | file is broken: %file | at the requested time, the record in the %file file was not kept for unknown reasons, another file will be selected | WARNING | Wed Mar 15 14:40:01 2017 WARNING RECORDS MANAGER GetOffsetForFile[21013]: (6118) file is broken: /tmp/pvr/ch_47/ch_id-47_time-1489568816_task_id-99 0548.ts |
| 6119 | can't add record to watchlist: %s | mistake of adding a record to the watch list | WARNING | Wed Mar 15 14:40:01 2017 WARNING RECORDS MANAGER TryAddToWatchlistFromDB[21013]: (6119) can't add record to watchlist: task with ID 1942 already in watchlist |
| 6120 | get mountpoint list | query | DEBUG | Wed Mar 15 14:40:01 2017 DEBUG RECORDS MANAGER GetMountpointList[21013]: (6120) get mountpoint list |
| 6121 | get records | request | DEBUG | Wed Mar 15 14:40:01 2017 DEBUG RECORDS MANAGER GetRecords[21013]: (6121) get records |
| 6122 | get oldest start timestamp | request the start time of the oldest record of those information about which is in the database | DEBUG | Wed Mar 15 14:40:01 2017 DEBUG RECORDS MANAGER GetOldestTimestamp[21013]: (6122) get oldest start timestamp |
| 1100 | send task: from = %module, to = %module, task_id = %id, channel_id = %channel | forwarding | EXTENDED | Thu Mar 16 17:31:02 2017 EXTENDED MODULE SendTask[13321]: (1100) send task: from = RecordersManager, to = RecordsManager, task_id = 1007113, channel_id = 100 |
| 1101 | %sig received | micropvr receives an OS signal | WARNING | Thu Mar 16 16:28:23 2017 WARNING DEINIT SignalHandler[31491]: (1101) SIGTERM received. Stop and deinit all threads |
| 1300 | set period: %n seconds | altered state log period | DEBUG | Wed Mar 15 14:38:57 2017 DEBUG STATE LOGGER SetTime[19158]: (1300) set period: 0 seconds. |
| 1301 | logger start | triggering | INFO | Wed Mar 15 14:40:01 2017 INFO STATE LOGGER StartStop[21013]: (1301) logger start |
| 1302 | logger stop | completion | INFO | Wed Mar 15 14:40:00 2017 INFO STATE LOGGER StartStop[21013]: (1302) logger stop |
| 1303 | log state | state-log | DEBUG | Wed Mar 15 14:40:01 2017 DEBUG STATE LOGGER Log[21013]: (1303) log state |
| 1304 | logger unlocked | status log unlocked | DEBUG | Wed Mar 15 14:40:01 2017 DEBUG STATE LOGGER Log[21013]: (1304) logger unlocked |
| 1400 | popen error: %s | popen call error() | CRITICAL | Wed Mar 15 14:40:01 2017 CRITICAL UTILS GetCpuLA1[21013]: (1400) popen error: No such file or directory |
| 1401 | mount point name is too long | mounting-point name | ERROR | Wed Mar 15 14:40:01 2017 ERROR UTILS GetMountpointForFolder[21013]: (1401) mount point name is too long |
| 1402 | location %loc not found. Please, check storage | no mounting point found for %loc directory | WARNING | Wed Mar 15 14:40:01 2017 WARNING UTILS GetMountpointForFolder[21013]: (1402) location /tmp/pvr/ch_47/ not found. Please, check storage |
| 1403 | can't delete file %file: %s | file-deletion error | WARNING | Wed Mar 15 14:39:01 2017 WARNING RECORDS MANAGER DeleteFile[21013]: (1403) can't delete file /tmp/pvr/ch_60/ch_id-60_time-1489568821_task_id-99 0561.ts: file is busy |
| 1404 | file %file was deleted | %file file deleted | INFO | Wed Mar 15 14:40:01 2017 INFO RECORDS MANAGER DeleteFile[21013]: (1404) file /tmp/pvr/ch_60/ch_id-60_time-1489568821_task_id-99 was 0561.ts deleted |
Log recorder
| Code | Format | Description | Level | Example |
| 9000 | creating a control thread | Error of creating a monitoring stream, the recorder process will be completed | CRITICAL | Tue Mar 21 09:30:01 2017 CRITICAL Init[19967]: (9000) creating control thread fault |
| 9001 | record object is not created | Recorder initialization error, the process will be completed | CRITICAL | Tue Mar 21 09:35:10 2017 CRITICAL Init[20404]: (9001) recorder object is not created |
| 9002 | source ip: %ip, port: %port | Source with IP %ip and %port network port will be used | INFO | Tue Mar 21 09:35:10 2017 INFO ParseInputAddr[23421]: (9002) source ip: 239.10.1.79, port: 5000 |
| 9003 | source (multicast) ip: %ip, port: %port | Multicast source with IP %ip and %port network port will be used | INFO | Tue Mar 21 06:21:27 2017 INFO ParseInputAddr[14805]: (9003) source (multicast) ip: 239.10.1.500, port: 5000 |
| 9004 | invalid url: %s | Incorrect source address | ERROR | Tue Mar 21 05:42:54 2017 ERROR ParseInputAddr[381]: (9004) invalid url:udp:// 1.1.1.1 |
| 9005 | -p parameter is missed | Missed file name setting for writing PID, PID will not be written, MicroPVR may not work correctly | ERROR | Tue Mar 21 10:01:20 2017 ERROR WritePidToFile[22896]: (9005) -p parameter is missed, PID won't be written |
| 9006 | recording is starting | Initialization of the record | DEBUG | Tue Mar 21 06:21:27 2017 INFO StartRecording[14805]: (9006) recording is starting on 239.10.1.500:5000 |
| 9007 | socket() error: %s | Socket creation error, recorder will be completed | ERROR | Tue Mar 21 09:28:01 2017 INFO StartRecording[20178]: (9007) socket() error: Invalid argument |
| 9008 | can't set socket option %opt:% | Error socket option assignment, recorder will be completed | ERROR | Tue Mar 21 06:22:32 2017 ERROR StartRecording[16102]: (9008) can't set socket option IP_ADD_MEMBERSHIP: Invalid argument |
| 9009 | bind() error: % | Socket initialization error, recorder will be completed | ERROR | Tue Mar 21 09:30:47 2017 ERROR StartRecording[18043]: (9009) bind() error: Cannot assign requested address |
| 9010 | can not write stream to %file, terminate | Error of recording video stream in the file %file | ERROR | Tue Mar 21 09:28:58 2017 ERROR Recorder[15827]: (9010) can not write stream to /tmp/pvr/ch_8/ch_id-8_time-1490075921_task_id-1030 528.ts, terminate |
| 9011 | can not write PID to %, terminate | Error of writing process ID to %file | ERROR | Tue Mar 21 09:27:42 2017 ERROR WritePidToFile[14288]: (9011) can not write PID to /var/run/recorder, terminate |
| 9012 | recording has been started on %url | Start recording from the source %url | INFO | Tue Mar 21 05:58:42 2017 DEBUG StartRecording[19592]: (9012) recording has been started on 239.10.1.153:5000 |
| 9013 | recording has been stopped on %url | Recording from %url source completed | INFO | Tue Mar 21 09:33:41 2017 INFO StartRecording[21557]: (9013) recording has been stopped on 239.10.1.79:5000 |
| 9014 | error closing the output file | File descriptor closing error | ERROR | Tue Mar 21 09:30:03 2017 ERROR~Recorder[20213]: (9014) error closing output file |
| 9015 | error removing PID file % | File descriptor closing error | ERROR | Tue Mar 21 09:34:35 2017 ERROR ~Recorder[22404]: (9015) error removing PID file /tmp/pid |
| 9016 | recorder shutdown on %url | Recorder process completed | DEBUG | Tue Mar 21 07:50:42 2017 DEBUG ~Recorder[25938]: (9016) recorder shutdown on udp:// @239.10.1.500:5000 |
| 9018 | shutdown timeout is reached, process will be crashed | The completion of the process takes too long, the recorder will be completed immediately | WARNING | Tue Mar 21 09:12:40 2017 WARNING TerminateHandler[21016]: (9018) shutdown timeout is reached, process will be crashed |
| 9020 | %sig received | Process receives signal | INFO | Tue Mar 21 06:00:00 2017 INFO TerminateHandler[11536]: (9020) SIGTERM received, shutdown |