Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Setting log level to INFO by default

Marek Trunkat6c96aefdc283
diff --git a/src/index.js b/src/index.js
index 774af9286..445d40f0d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -21,9 +21,6 @@ import PseudoUrl from './pseudo_url';
/* globals module */
-// Hide debug log messages when running in production mode.
-if (!isProduction() || process.env[ENV_VARS.LOG_LEVEL] === 'DEBUG') log.isDebugMode = true;
-
// Log as plain text not JSON
log.logJson = false;