789
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
788
|
|
|
Alex Kavanagh |
|
6 years ago
|
|
|
787
|
|
|
Tim Van Steenburgh |
v0.18.1 |
6 years ago
|
|
|
786
|
|
|
Stuart Bishop |
|
6 years ago
|
|
|
785
|
|
|
Tim Van Steenburgh |
v0.18.0 |
6 years ago
|
|
|
784
|
|
|
Alex Kavanagh |
|
6 years ago
|
|
|
783
|
|
|
Alex Kavanagh |
|
6 years ago
|
|
|
782
|
|
[tinwood, r=thedac] Update the core.host.write_file(...) function to do less work
The primary motivation for this change is to do less work, touch the filesystem less, and try to clean the logs up a bit. This change is to the rendering of configuration files, which generates noise in the logs (at INFO) level, and often results in writing the exact same content, thus updating the atime of the file even when the contents haven't changed.
This change detects if the content will change, and if not, doesn't write the file. It does detect if the uid,gid is changing and takes the appropriate action. The logs are demoted to the lowest level of DEBUG/TRACE, and are only generated IFF the file is actually written or the uid/gid is changed.
|
David Ames |
|
6 years ago
|
|
|
781
|
|
|
billy.olsen at canon... |
|
6 years ago
|
|
|
780
|
|
|
David Ames |
|
6 years ago
|
|
|
779
|
|
|
David Ames |
|
6 years ago
|
|
|
778
|
|
|
Liam Young |
|
6 years ago
|
|
|
777
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
776
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
775
|
|
|
Alex Kavanagh |
|
6 years ago
|
|
|
774
|
|
|
Stuart Bishop |
|
6 years ago
|
|
|
773
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
772
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
771
|
|
|
james.page at ubuntu |
|
6 years ago
|
|
|
770
|
|
|
Stuart Bishop |
|
6 years ago
|
|
|