{"id":4115,"date":"2025-01-17T17:06:40","date_gmt":"2025-01-17T17:06:40","guid":{"rendered":"https:\/\/www.errsole.com\/blog\/?p=4115"},"modified":"2025-04-23T13:17:46","modified_gmt":"2025-04-23T13:17:46","slug":"getting-started-with-errsole","status":"publish","type":"post","link":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/","title":{"rendered":"Getting Started with Errsole"},"content":{"rendered":"\n<p>Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search your application logs. If you are SSHing into servers or scrolling through raw log files to find errors or debug logs, Errsole simplifies the process for you.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Errsole Opensource Demo\" width=\"770\" height=\"433\" src=\"https:\/\/www.youtube.com\/embed\/2K2Mvqdcq70?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"> Quick Setup<\/h2>\n\n\n\n<p>This guide sets up Errsole with SQLite. SQLite stores data in a file, so your logs will be saved directly on your server\u2014ideal for quick and simple setups.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"wp-rich-text-font-awesome-icon wp-font-awesome-icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"pen-to-square\" class=\"svg-inline--fa fa-pen-to-square \" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"><\/path><\/svg><\/span> Note: Errsole supports multiple storage options for centralized logging. Explore all available options <a href=\"https:\/\/github.com\/errsole\/errsole.js?tab=readme-ov-file#setup\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">1. Install the required modules<\/h6>\n\n\n\n<p>Run the following command to install Errsole and the SQLite storage module in your Node.js project:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">npm install errsole errsole-sqlite<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">2. Configure the logger<\/h6>\n\n\n\n<p>Create a separate <code>logger.js<\/code> file to initialize and export the Errsole logger, so that you can use it across your project:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">const errsole = require('errsole');\nconst ErrsoleSQLite = require('errsole-sqlite');\nconst os = require('os');\nconst path = require('path');\n\nconst logFile = path.join(os.tmpdir(), 'your-app-name.log.sqlite');\nerrsole.initialize({\n  storage: new ErrsoleSQLite(logFile),\n  appName: 'your-app-name'\n});\n\nmodule.exports = errsole;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"wp-rich-text-font-awesome-icon wp-font-awesome-icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"pen-to-square\" class=\"svg-inline--fa fa-pen-to-square \" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"><\/path><\/svg><\/span> Note: Replace <strong>your-app-name<\/strong> with the actual name of your app.<\/pre>\n\n\n\n<p>Now, you can include this logger in any file using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">const errsole = require('.\/logger');<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">3. Use the logger in your application code<\/h6>\n\n\n\n<p>To start logging, include the logger in your application code. Here is an example using Express:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">const express = require('express');\nconst errsole = require('.\/logger');\n\nconst app = express();\n\napp.get('\/', (req, res) =&gt; {\n  res.send('Hello World!');\n});\n\nconst port = 3000;\napp.listen(port, () =&gt; {\n  errsole.log(`Hello World app is listening on port ${port}`);\n});<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Accessing the Log Viewer<\/h2>\n\n\n\n<p>After completing the setup, start your application and access the log viewer to view and manage your logs:<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">For Local Development<\/h6>\n\n\n\n<p>Visit <code>http:\/\/localhost:8001\/<\/code><\/p>\n\n\n\n<h6 class=\"wp-block-heading\">For Remote Servers<\/h6>\n\n\n\n<p>Replace with your server IP or domain:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/your-server-ip:8001\/<br>http:\/\/your-domain:8001\/<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Optional: NGINX Configuration<\/h2>\n\n\n\n<p>If your application is behind NGINX, you can configure access to the log viewer by adding the following lines to your NGINX configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"nginx\" class=\"language-nginx\">location = \/your-app-name\/logs {\n  return 301 \/your-app-name\/logs\/;\n}\nlocation \/your-app-name\/logs\/ {\n  proxy_pass http:\/\/localhost:8001\/;\n  proxy_http_version 1.1;\n  proxy_set_header Upgrade $http_upgrade;\n  proxy_set_header Connection \"upgrade\";\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"wp-rich-text-font-awesome-icon wp-font-awesome-icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"pen-to-square\" class=\"svg-inline--fa fa-pen-to-square \" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"><\/path><\/svg><\/span> Note: Replace <strong>\/your-app-name\/logs<\/strong> and <strong>\/your-app-name\/logs\/<\/strong> with the desired URL path where you want the log viewer to be accessible.<\/pre>\n\n\n\n<p>After updating the configuration, reload NGINX to apply the changes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo nginx -s reload<\/code><\/pre>\n\n\n\n<p>You can now access the log viewer through your domain:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For server IP access: <code>http:\/\/your-server-ip\/your-app-name\/logs\/<\/code><\/li>\n\n\n\n<li>For domain access (HTTP): <code>http:\/\/your-domain\/your-app-name\/logs\/<\/code><\/li>\n\n\n\n<li>For domain access (HTTPS): <code>https:\/\/your-domain\/your-app-name\/logs\/<\/code><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"wp-rich-text-font-awesome-icon wp-font-awesome-icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"pen-to-square\" class=\"svg-inline--fa fa-pen-to-square \" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"><\/path><\/svg><\/span> Note: Replace <strong>\/your-app-name\/logs\/<\/strong> in the URLs above to match the path you configured in NGINX.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Errsole provides a fast and easy way to log and view errors in real time. While this guide uses SQLite for local logging, production environments can benefit from centralized logging using other supported storage backends.<\/p>\n\n\n\n<p><span class=\"wp-rich-text-font-awesome-icon wp-font-awesome-icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"book\" class=\"svg-inline--fa fa-book \" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 448 512\"><path fill=\"currentColor\" d=\"M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z\"><\/path><\/svg><\/span> Explore the full documentation here: <a href=\"https:\/\/github.com\/errsole\/errsole.js\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/errsole\/errsole.js<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, Errsole is set up with SQLite. Since SQLite stores data in a file, logs are saved directly on the server\u2014making it ideal for quick and simple setups.<\/p>\n","protected":false},"author":2,"featured_media":4358,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":{"0":"post-4115","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-errsole"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting Started with Errsole | Errsole Blog<\/title>\n<meta name=\"description\" content=\"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with Errsole | Errsole Blog\" \/>\n<meta property=\"og:description\" content=\"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/\" \/>\n<meta property=\"og:site_name\" content=\"Errsole Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-17T17:06:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-23T13:17:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png\" \/>\n\t<meta property=\"og:image:width\" content=\"770\" \/>\n\t<meta property=\"og:image:height\" content=\"515\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Venki\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@errsole\" \/>\n<meta name=\"twitter:site\" content=\"@errsole\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Venki\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/\"},\"author\":{\"name\":\"Venki\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f478dc1693f6971dd4907e4105f68ee\"},\"headline\":\"Getting Started with Errsole\",\"datePublished\":\"2025-01-17T17:06:40+00:00\",\"dateModified\":\"2025-04-23T13:17:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/\"},\"wordCount\":313,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/getting-started-with-errsole.png\",\"articleSection\":[\"Errsole\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/\",\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/\",\"name\":\"Getting Started with Errsole | Errsole Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/getting-started-with-errsole.png\",\"datePublished\":\"2025-01-17T17:06:40+00:00\",\"dateModified\":\"2025-04-23T13:17:46+00:00\",\"description\":\"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/getting-started-with-errsole.png\",\"contentUrl\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/getting-started-with-errsole.png\",\"width\":770,\"height\":515,\"caption\":\"Getting Started with Errsole\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/getting-started-with-errsole\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with Errsole\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/\",\"name\":\"Errsole Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#organization\",\"name\":\"Errsole\",\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/dark-errsole.jpg\",\"contentUrl\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/dark-errsole.jpg\",\"width\":500,\"height\":500,\"caption\":\"Errsole\"},\"image\":{\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/errsole\",\"https:\\\/\\\/www.youtube.com\\\/@errsole\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f478dc1693f6971dd4907e4105f68ee\",\"name\":\"Venki\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g\",\"caption\":\"Venki\"},\"description\":\"Building Errsole \u2014 Worked in startups \u2014 Built products from scratch \u2014 Passionate about coding and innovation\",\"sameAs\":[\"www.linkedin.com\\\/in\\\/venki91\"],\"url\":\"https:\\\/\\\/www.errsole.com\\\/blog\\\/author\\\/venki\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started with Errsole | Errsole Blog","description":"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.","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:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with Errsole | Errsole Blog","og_description":"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.","og_url":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/","og_site_name":"Errsole Blog","article_published_time":"2025-01-17T17:06:40+00:00","article_modified_time":"2025-04-23T13:17:46+00:00","og_image":[{"width":770,"height":515,"url":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png","type":"image\/png"}],"author":"Venki","twitter_card":"summary_large_image","twitter_creator":"@errsole","twitter_site":"@errsole","twitter_misc":{"Written by":"Venki","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#article","isPartOf":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/"},"author":{"name":"Venki","@id":"https:\/\/www.errsole.com\/blog\/#\/schema\/person\/6f478dc1693f6971dd4907e4105f68ee"},"headline":"Getting Started with Errsole","datePublished":"2025-01-17T17:06:40+00:00","dateModified":"2025-04-23T13:17:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/"},"wordCount":313,"commentCount":0,"publisher":{"@id":"https:\/\/www.errsole.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#primaryimage"},"thumbnailUrl":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png","articleSection":["Errsole"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/","url":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/","name":"Getting Started with Errsole | Errsole Blog","isPartOf":{"@id":"https:\/\/www.errsole.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#primaryimage"},"image":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#primaryimage"},"thumbnailUrl":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png","datePublished":"2025-01-17T17:06:40+00:00","dateModified":"2025-04-23T13:17:46+00:00","description":"Errsole is an open-source logging library for Node.js applications. It comes with a built-in log viewer to view, filter, and search logs.","breadcrumb":{"@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#primaryimage","url":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png","contentUrl":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2025\/01\/getting-started-with-errsole.png","width":770,"height":515,"caption":"Getting Started with Errsole"},{"@type":"BreadcrumbList","@id":"https:\/\/www.errsole.com\/blog\/getting-started-with-errsole\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.errsole.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Getting Started with Errsole"}]},{"@type":"WebSite","@id":"https:\/\/www.errsole.com\/blog\/#website","url":"https:\/\/www.errsole.com\/blog\/","name":"Errsole Blog","description":"","publisher":{"@id":"https:\/\/www.errsole.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.errsole.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.errsole.com\/blog\/#organization","name":"Errsole","url":"https:\/\/www.errsole.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.errsole.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2023\/05\/dark-errsole.jpg","contentUrl":"https:\/\/www.errsole.com\/blog\/wp-content\/uploads\/2023\/05\/dark-errsole.jpg","width":500,"height":500,"caption":"Errsole"},"image":{"@id":"https:\/\/www.errsole.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/errsole","https:\/\/www.youtube.com\/@errsole"]},{"@type":"Person","@id":"https:\/\/www.errsole.com\/blog\/#\/schema\/person\/6f478dc1693f6971dd4907e4105f68ee","name":"Venki","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/20e7988e612a3022f2d7bd2ff639a62f69ea4e26a53887210abcd8d516482f7d?s=96&d=mm&r=g","caption":"Venki"},"description":"Building Errsole \u2014 Worked in startups \u2014 Built products from scratch \u2014 Passionate about coding and innovation","sameAs":["www.linkedin.com\/in\/venki91"],"url":"https:\/\/www.errsole.com\/blog\/author\/venki\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/posts\/4115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/comments?post=4115"}],"version-history":[{"count":47,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions"}],"predecessor-version":[{"id":4333,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions\/4333"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/media\/4358"}],"wp:attachment":[{"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/media?parent=4115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/categories?post=4115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.errsole.com\/blog\/wp-json\/wp\/v2\/tags?post=4115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}