{"id":17486,"date":"2024-09-10T11:30:46","date_gmt":"2024-09-10T08:30:46","guid":{"rendered":"https:\/\/trueconf.com/blog\/?p=17486"},"modified":"2024-09-20T17:05:59","modified_gmt":"2024-09-20T14:05:59","slug":"trueconf-server-log-files-and-how-to-delete-them","status":"publish","type":"post","link":"https:\/\/trueconf.com/blog\/knowledge-base\/trueconf-server-log-files-and-how-to-delete-them","title":{"rendered":"TrueConf Server log files and how to delete them"},"content":{"rendered":"<p style=\"text-align: justify;\"><b>Log file (log file, event log, protocol)<\/b> is a file containing information about events that have occurred on the server, which is used for logging server operation. Usually, information in log files is presented in text format.<\/p>\n<p style=\"text-align: justify;\"><strong>TrueConf Server<\/strong> log files are used to save its operation statistics, information about connected users and to collect debugging data when failures occur. You should also provide them when contacting our <a href=\"https:\/\/trueconf.com\/blog\/knowledge-base\/which-logs-are-required-to-submit-a-ticket-to-the-technical-support-department.html#TrueConf_Server\" target=\"_blank\" rel=\"noopener\">technical support<\/a>.<\/p>\n<p><!--more--><\/p>\n<h2 style=\"text-align: justify;\">A list of log files and what they are for<\/h2>\n<p><strong>TrueConf Server<\/strong> logs are saved:<\/p>\n<ul>\n<li>on <b>Windows<\/b> in the server working directory (<b>C:\\TrueConf<\/b> is selected by default);<\/li>\n<li>on Linux distributions in the directory <b>opt\/trueconf\/server\/var\/log<\/b>.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div class=\"scrolling-table__container\">\n<table class=\"aligncenter scrolling-table\" style=\"width: 91.9926%; margin-left: auto; margin-right: auto; min-width: 300px; height: 501px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<th style=\"height: 24px; width: 20.6285%;\" colspan=\"2\"><b>Path and name<\/b><br \/>\n<b><br \/>\n<\/b><\/th>\n<th style=\"height: 48px; width: 79.1297%;\" rowspan=\"2\"><b>What is it used for<\/b><br \/>\n<b><br \/>\n<\/b><\/th>\n<\/tr>\n<tr style=\"height: 24px;\">\n<th style=\"width: 19.8227%; height: 24px;\"><b>Windows<\/b><\/th>\n<th style=\"width: 0.805802%; height: 24px;\"><b>Linux<\/b><\/th>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"height: 48px; width: 19.8227%;\">working directory\\<b>stdout.log<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/vcs\/<\/span><b>stdout.log<\/b><\/td>\n<td style=\"text-align: justify; height: 48px; width: 79.1297%;\">The file containing the main log of the server. When it reaches 1 GB in size, the file is automatically renamed to <b>stdout.old.log<\/b> and a new one is created in its place.<\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px; width: 19.8227%;\">working directory\\<b>gateway.pcap<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/vcs\/<\/span><b>gateway.pcap<\/b><\/td>\n<td style=\"text-align: justify; height: 72px; width: 79.1297%;\">A summary of the built-in traffic sniffer, in which connections to third-party protocols are captured. Similarly to <b>stdout.log<\/b>, when the maximum file size is reached it is renamed to <b>gateway.old.pcap<\/b> and a new file is created in its place.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 19.8227%;\">working directory\\<b>pg_log<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/<\/span><b>database<\/b><\/td>\n<td style=\"text-align: justify; height: 24px; width: 79.1297%;\">The directory where the database log files are stored.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 19.8227%;\">working directory\\<b>svc_logs<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/vcs\/<\/span><b>svc_logs<\/b><\/td>\n<td style=\"text-align: justify; height: 24px; width: 79.1297%;\">Conference logging.<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"height: 48px; width: 19.8227%;\">working directory\\<b>transceiver_logs<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/vcs\/<\/span><b>transceiver_logs<\/b><\/td>\n<td style=\"text-align: justify; height: 48px; width: 79.1297%;\">Directory with <b>transceiver <\/b>process logs. The operation of third-party protocols (SIP\/H.323\/RTSP\/WebRTC) and conference records are recorded here.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 19.8227%;\">working directory\\<b>web_logs<\/b><\/td>\n<td style=\"width: 0.805802%;\"><span style=\"font-weight: 400;\">\/opt\/trueconf\/server\/var\/log\/<\/span><b>webmanager<\/b><\/td>\n<td style=\"text-align: justify; height: 24px; width: 79.1297%;\">Logging the TrueConf Web Manager service.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><\/h2>\n<h2>How to delete log files in TrueConf Server<\/h2>\n<div class=\"marked_note marked_note--warning\">\n<p style=\"text-align: justify;\">It is not always possible to fully analyze a problem without log files. All logs are text files that can be effectively compressed by any archiver. That is why in case of lack of free space on the server where TrueConf Server is deployed, it is recommended to compress log files instead of deleting them.<\/p>\n<\/div>\n<p style=\"text-align: justify;\">If you need to erase log files (e.g. for security reasons), you can just delete all files and directories listed in the <a href=\"#A_list_of_log_files_and_what_they_are_for\">table above<\/a>. TrueConf Server will recreate them automatically, if necessary.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Log file (log file, event log, protocol) is a file containing information about events that have occurred on the server, which is used for logging server operation. Usually, information in log files is presented in text format. TrueConf Server log files are used to save its operation statistics, information about connected users and to collect [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[260],"tags":[231],"class_list":["post-17486","post","type-post","status-publish","format-standard","hentry","category-knowledge-base","tag-troubleshooting","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/17486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/comments?post=17486"}],"version-history":[{"count":8,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/17486\/revisions"}],"predecessor-version":[{"id":31374,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/17486\/revisions\/31374"}],"wp:attachment":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media?parent=17486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/categories?post=17486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/tags?post=17486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}