Comments (1)
Pity that nothing happened on this. Air has some of the loudest logging we've seen, enough that we're thinking we should go with another hot reloader, or fork Air to get the logging under control.
The problem is that if you run Air inside of a container as we do, we have Air starting up on 10 containers, resulting in about 500 lines of logging in the Docker output that is very close to spam. The more subdirectories you have, the worse it is.
This makes Air potentially harmful, because you might miss something important. I've already missed a message from another container that was buried in the Air log output.
A regexp would work. But since regexp is voodoo for most people, perhaps just a simple array that accepts wildcards. Then it could be in the .toml file:
exclude_logs = ["watching*", "!exclude*"]
from air.
Related Issues (20)
- Moving 'air' to Organization HOT 7
- Changing project link HOT 1
- What's the point of `root`? HOT 1
- Cannot `go install github.com/air-verse/air@latest` HOT 14
- How to Disable "Process Exit with Code 0" Message?
- Fix to a problem when using podman-compose to run Air
- Issue when compiling static files
- add option to ignore the default .air.toml, for usage with "templ generate --notify-proxy"
- Process is orphaned rather than shut down when air exits HOT 9
- Returning HTML breaks proxy HOT 4
- Can't install air
- Canβt install air HOT 1
- "air -c" and "air init" can`t run HOT 3
- ldflags not being applied when building binary with Air
- Issue with air just hanging after awhile; cant ctrl+c process [WSL] (I think its the proxy setting) HOT 3
- Air with Dlv and breakpoints does not work
- Not exexuting the exucutable HOT 1
- Live reload not working correctly with devcontainers HOT 1
- Why must rebuild when changed?
- Run a passive command?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from air.