#24 pushing log changes ?

Açık
jcolomb tarafından 3 yıl önce kere açıldı · 1 yorum
julien colomb 3 yıl önce olarak yorumlandı

When synchronising, a .log/gin.log file is created or updated.

So there is always a change to push, and stupid commits can be done (no change apart from the fact that it was synchronised).

I see different solutions:

  • add .log/ to gitignore (but one may want to access it if people have problems)
  • only write in the log if there is a problem
  • having one file for logs that is ignored, and one for problems that is not
When synchronising, a .log/gin.log file is created or updated. So there is always a change to push, and stupid commits can be done (no change apart from the fact that it was synchronised). I see different solutions: - add .log/ to gitignore (but one may want to access it if people have problems) - only write in the log if there is a problem - having one file for logs that is ignored, and one for problems that is not
Achilleas Koutsou 3 yıl önce olarak yorumlandı
Sahibi

having one file for logs that is ignored, and one for problems that is not

I think I like this the most. We could have a transaction log that stores everything and an error log that gets updated (and pushed) when an error occurs.

> having one file for logs that is ignored, and one for problems that is not I think I like this the most. We could have a transaction log that stores everything and an error log that gets updated (and pushed) when an error occurs.
Giriş yap bu konuşmaya katılmak için.
Kilometre Taşı Yok
Atanan Kişi Yok
2 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.