<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl" -->

---
title: Set LogLevel of Blazor | daily.dev
description: Blazor&#x27;s default configuration logs verbosely to the browser console, which can trigger PageSpeed Insights warnings. The fix involves manually calling...
canonical: https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Set LogLevel of Blazor | daily.dev
og:description: Blazor&#x27;s default configuration logs verbosely to the browser console, which can trigger PageSpeed Insights warnings. The fix involves manually calling...
og:url: https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl
og:image: https://api.daily.dev/og/posts/AvpvIzYVl.png
og:image:alt: Set LogLevel of Blazor
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Set LogLevel of Blazor

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 1 min read · 1 upvotes · 0 comments

## Summary

Blazor's default configuration logs verbosely to the browser console, which can trigger PageSpeed Insights warnings. The fix involves manually calling Blazor.start() with a logLevel setting instead of using the default auto-start script tag. Setting logLevel to 'none' suppresses all logging, while 'critical' is a more practical choice that keeps only critical errors. SignalR client logging can also be configured in the same call via the circuit.configureSignalR builder.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://steven-giesel.com/blogPost/1cfa82eb-1108-4355-8815-615b094bf9ec>

## Similar posts on daily.dev

- [Cut your Fastify log volume with logController](https://daily.dev/posts/cut-your-fastify-log-volume-with-logcontroller-e7zizpybt) · Backend Cafe · 0 upvotes · 0 comments

---

Tags: [#.net](https://daily.dev/tags/.net), [#logging](https://daily.dev/tags/logging), [#blazor](https://daily.dev/tags/blazor)

[View this post on daily.dev](https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Set LogLevel of Blazor","url":"https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl"},"datePublished":"2026-07-12T15:00:08.978Z","dateModified":"2026-07-12T15:00:24.226Z","description":"Blazor's default configuration logs verbosely to the browser console, which can trigger PageSpeed Insights warnings. The fix involves manually calling...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"We Are .NET","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"We Are .NET","logo":"https://media.daily.dev/image/upload/s--BsnVOa3i--/f_auto/v1718347410/logos/wearedotnet","url":"https://daily.dev/sources/wearedotnet"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/set-loglevel-of-blazor-avpvizyvl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":".net,logging,blazor","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"We Are .NET","item":"https://daily.dev/sources/wearedotnet"},{"@type":"ListItem","position":3,"name":"Set LogLevel of Blazor"}]}
```

