{"id":1550,"date":"2020-10-06T17:50:11","date_gmt":"2020-10-06T14:50:11","guid":{"rendered":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d0%bb%d0%be%d0%b3%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f"},"modified":"2026-02-06T09:16:18","modified_gmt":"2026-02-06T06:16:18","slug":"logging","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/logging","title":{"rendered":"Logging configuration"},"content":{"rendered":"<p>In the Smarty configuration file, you can set the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>LOG_FILE_OWNER_USER<\/code> \u2014 username of the log file owner. Data type: string. By default <strong>www-data<\/strong>.<\/li><li><code>LOG_FILE_OWNER_GROUP<\/code> \u2014 the name of the user-owner group of log files. Data type: string. By default <strong>www-data<\/strong>.<\/li><li><code>LOGGING<\/code> \u2014 Logging configuration. Data type: dict.<\/li><\/ul>\n\n\n\n<p>Example of changing standard logging levels:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">LOGGING['loggers']['smarty_content_requests']['level'] = 'ERROR'\nLOGGING['loggers']['smarty_accounts']['level'] = 'INFO'\nLOGGING['loggers']['smarty_messaging']['level'] = 'ERROR'\nLOGGING['loggers']['clever_cache']['level'] = 'INFO'\nLOGGING['loggers']['smarty_api_requests']['level'] = 'ERROR'\nLOGGING['loggers']['smarty_stream_services']['level'] = 'ERROR'\nLOGGING['loggers']['smarty_billing_out']['level'] = 'DEBUG'\nLOGGING['loggers']['smarty_billing_in']['level'] = 'DEBUG'\nLOGGING['loggers']['smarty_main']['level'] = 'ERROR'<\/pre>\n\n\n\n<p>Logging levels: DEBUG, INFO, WARNING, ERROR, CRITICAL. Depending on the level, the amount of logged information changes (from DEBUG debugging information to CRITICAL only critical error reports).<\/p>\n\n\n\n<p><strong>List of all loggers:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>smarty_accounts_handler<\/code> \u2014 information about attempts to authorize accounts and actions with accounts.<\/li><li><code>smarty_billing_out_handler<\/code> \u2014 external billing requests via External API.<\/li><li><code>smarty_billing_in_handler<\/code> \u2014 Billing API requests from outside.<\/li><li><code>smarty_payment_handler<\/code> \u2014 requests to payment gateways.<\/li><li><code>smarty_portal_handler<\/code> \u2014 portal logs.<\/li><li><code>smarty_epg_handler<\/code> \u2014 logs associated with EPG.<\/li><li><code>smarty_admin_handler<\/code> \u2014 logging actions and data changes in the control panel.<\/li><li><code>smarty_content_request_handler<\/code> \u2014 Logging content queries and generated URLs.<\/li><li><code>smarty_api_request_handler<\/code> \u2014 logging API requests and method processing results.<\/li><li><code>smarty_messaging_handler<\/code> \u2014 logging the mailing of messages.<\/li><li><code>smarty_management_handler<\/code> \u2014 logging service and regular teams.<\/li><li><code>smarty_cache_handler<\/code> \u2014 logging caching and disability operations.<\/li><li><code>smarty_main_handler<\/code> \u2014 logging major errors in the work (here you can also find a detailed stack and description of errors in the form of 500 Server Error).<\/li><li><code>smarty_stream_services_handler<\/code> \u2014 logging the results of the streaming services sampling algorithm for a particular account.<\/li><li><code>smarty_videoservices_handler<\/code> \u2014 Logging requests to video server APIs.<\/li><li><code>smarty_sms_handler<\/code> \u2014 logging of interaction operations with SMS gateways.<\/li><li><code>smarty_rq_handler<\/code> \u2014 Logging of Cluster Operations (Redis Q).<\/li><li><code>smarty_device_monitoring_handler<\/code> \u2014 logging operations of the device monitoring module (MVision).<\/li><li><code>smarty_w_api_handler<\/code> \u2014 logging operations of the WindyCast module.<\/li><li><code>smarty_custom_handler<\/code> \u2014 custom logs (used, as a rule, in custom integration modules designed for the operator).<\/li><li><code>smarty_megogo_handler<\/code> \u2014 logging operations of the MEGOGO integration module.<\/li><li><code>smarty_tvzavr_handler<\/code> \u2014 logging operations of the integration module with TVZavr.<\/li><li><code>smarty_hbb_handler<\/code> \u2014 logging operations of the integration module with HBB providers.<\/li><li><code>smarty_ad_handler<\/code> \u2014 logging operations of the integration module with advertising providers.<\/li><li><code>smarty_irdeto_handler<\/code> \u2014 logging operations of the integration module with Irdeto KMS.<\/li><\/ul>\n\n\n\n<p>Logging level of all loggers by default \u2014 DEBUG. To optimize disk space consumed and increase performance, it is recommended to adjust the logging level according to your needs and reduce it for unused logs.<br>The way to preserve the dens <code>\/var\/log\/microimpuls\/smarty<\/code>.<\/p>","protected":false},"featured_media":0,"parent":1454,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-1550","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/logging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\" \/>\n<meta property=\"og:description\" content=\"\u0412 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Smarty \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0446\u0438\u0438: LOG_FILE_OWNER_USER &#8212; \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u043e\u0432. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: string. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e www-data. LOG_FILE_OWNER_GROUP &#8212; \u0438\u043c\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u043e\u0432. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: string. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e www-data. LOGGING &#8212; \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: dict. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: LOGGING[&#039;loggers&#039;][&#039;smarty_content_requests&#039;][&#039;level&#039;] = &#039;ERROR&#039; LOGGING[&#039;loggers&#039;][&#039;smarty_accounts&#039;][&#039;level&#039;] = &#039;INFO&#039; LOGGING[&#039;loggers&#039;][&#039;smarty_messaging&#039;][&#039;level&#039;] = &#039;ERROR&#039; LOGGING[&#039;loggers&#039;][&#039;clever_cache&#039;][&#039;level&#039;] = &#039;INFO&#039; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/logging\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-06T06:16:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging\",\"name\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"datePublished\":\"2020-10-06T14:50:11+00:00\",\"dateModified\":\"2026-02-06T06:16:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Logging configuration","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/logging\/","og_locale":"en_US","og_type":"article","og_title":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f","og_description":"\u0412 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Smarty \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0446\u0438\u0438: LOG_FILE_OWNER_USER &#8212; \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u043e\u0432. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: string. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e www-data. LOG_FILE_OWNER_GROUP &#8212; \u0438\u043c\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u043e\u0432. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: string. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e www-data. LOGGING &#8212; \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0422\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: dict. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: LOGGING['loggers']['smarty_content_requests']['level'] = 'ERROR' LOGGING['loggers']['smarty_accounts']['level'] = 'INFO' LOGGING['loggers']['smarty_messaging']['level'] = 'ERROR' LOGGING['loggers']['clever_cache']['level'] = 'INFO' [&hellip;]","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/logging\/","og_site_name":"Microimpuls","article_modified_time":"2026-02-06T06:16:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging","url":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging","name":"Logging configuration","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"datePublished":"2020-10-06T14:50:11+00:00","dateModified":"2026-02-06T06:16:18+00:00","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/logging#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty"},{"@type":"ListItem","position":3,"name":"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management"},{"@type":"ListItem","position":4,"name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=1550"}],"version-history":[{"count":3,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1550\/revisions"}],"predecessor-version":[{"id":1554,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1550\/revisions\/1554"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1454"}],"next":[{"title":"Configuring multilingual content","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/multilang","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1555"}],"prev":[{"title":"Service and regular teams","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/management-commands","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1474"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=1550"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}