Commit Graph

577 Commits

Author SHA1 Message Date
olijf 40a25789e2 changed log level on removeConfig 2016-03-30 15:57:00 +02:00
olijf 0d9684bfca seems the removeConfig needs to be called twice 2016-03-30 11:23:27 +02:00
olijf c6b01a3cf7 switched responsibilities
moved the Open Acces point code to the  rest API because we dont wish to change setting during boot. (other issues arise now eg: what to do when someone changes his wifi password? box does nog connect but also does not open AP)
2016-03-30 11:10:44 +02:00
Wouter R ad048349b3 Lower logrotate cron interval from 3 to 2 minutes. 2016-03-29 14:34:58 +02:00
Wouter R 35bbac596b Fix day/month order in firmware log timestamp. 2016-03-23 17:08:29 +01:00
olijf fa91ace160 Fixed wifi issue
Different approach different solution. Instead of using the API to govern whether or not connection  was succesful the netconfig.lua figurers this out.
2016-03-23 13:33:14 +01:00
peteruithoven 8fb0eba9e6 0.10.10-b version & releasenotes 2016-03-21 12:45:41 +01:00
Wouter R 0583dddbe3 Merge branch 'feature/logrotate' into develop 2016-03-18 18:24:05 +01:00
Wouter R ca45f15151 Improve printer/print logging, partial fix for https://github.com/Doodle3D/doodle3d-firmware/issues/58. 2016-03-18 17:04:20 +01:00
Wouter R 00d77c491d Log rotation: store first 500 lines of print3d and firmware logs separately to prevent them from being rotated. 2016-03-18 16:28:21 +01:00
Wouter R 584a5bfce2 Log rotation:
- create cron job in postinst;
- start+enable cron in postinst.
2016-03-18 11:31:07 +01:00
Wouter R 4165d3b46d When preparing archive for 'info/logfiles' endpoint, create hardlinks to log files instead of copies to require less temporary space. 2016-03-18 10:29:11 +01:00
Wouter R 19eef4a334 Include rotated log files in 'info/logfiles' API endpoint. 2016-03-16 22:54:21 +01:00
Wouter R 453ec4294f Log rotation:
- install logrotate wifibox.conf file,
- create directories required for log rotation on boot.
2016-03-16 22:33:38 +01:00
Wouter R 61fcb7ecb6 Makefile/opkg: register configuration file as such. 2016-03-16 22:30:39 +01:00
peteruithoven 5d22267ae3 Loglite readme fixes 2016-03-16 18:40:31 +01:00
peteruithoven 4db83c98c5 loglite readme additions like installation 2016-03-16 17:36:41 +01:00
peteruithoven f06e3da46b loglite readme: filter whole log file example 2016-03-16 17:06:31 +01:00
peteruithoven eebd00c32f loglite readme: code highlighting 2016-03-16 17:05:58 +01:00
peteruithoven ae65e0841c Better print3d and new serial loglite filters 2016-03-16 16:58:32 +01:00
Wouter R 589d2c705e Include logrotate (+deps) in openwrt diffconfig. 2016-03-11 19:52:43 +01:00
Wouter R 260fac9cd4 Log more information when printer/* endpoint operations fail. 2016-03-11 15:58:35 +01:00
Wouter R f0c839ffdc Loglite: fix non-existing directive in example. 2016-03-04 20:29:37 +01:00
Wouter R 7a346d6cf1 Loglite: several new filter directives. 2016-03-04 18:12:28 +01:00
Wouter R a9e17e5151 Loglite:
- README.md with documentation on usage and creating filter sets (implements #54).
- small improvements to default filter set.
2016-03-04 17:24:30 +01:00
Wouter R 332d185b50 Loglite: add inheritance support for filter sets. 2016-03-03 22:40:23 +01:00
Wouter R b27506d236 Create convenience aliases (tailfw & tailp3d) for loglite. 2016-02-29 17:35:17 +01:00
Wouter R 7f5e10eb80 Merge branch 'feature/fixups-unify-log+chunk-checking' into develop 2016-02-29 16:27:01 +01:00
Wouter R 540651c72f Create `/root/sketches` on package installation. Fixes #56. 2016-02-29 16:13:41 +01:00
Olaf van der Kruk 9f95b8c537 Added little readme 2016-02-29 10:48:11 +01:00
Wouter R c8bea605f7 Move default filter set to config file.
Show available filter sets in help output.
2016-02-26 00:23:19 +01:00
Wouter R 1db8bf3119 Accept second command-line argument as filter set name.
Fixes #55.
2016-02-25 23:39:23 +01:00
Wouter R 8a07d972dd Create debug print to list available filter sets (to be used in help output later). 2016-02-25 23:23:50 +01:00
Wouter R fc026f1b38 loglite enhancements:
- Attempt reading named filter sets from $HOME/loglite-filters.lua
- Slightly improved debug printing
2016-02-25 10:29:02 +01:00
peteruithoven 9b88313506 Release script Linux support 2016-02-24 17:12:15 +01:00
peteruithoven 2f53a5e8b0 printer.lua syntax error
Remember: test before commit/push
2016-02-24 15:26:06 +01:00
peteruithoven 7e0d5cabee Removed duplicate Colido DIY printer 2016-02-24 12:02:45 +01:00
peteruithoven 7b88ca4489 0.10.10-a version & releasenotes 2016-02-24 12:00:19 +01:00
peteruithoven 1cb1309659 Craftbot PLUS 2016-02-24 11:44:12 +01:00
peteruithoven 939cb66066 Merged branch develop into feature/fixups-unify-log+chunk-checking 2016-02-24 10:51:13 +01:00
Wouter R 65062207ff Logging:
- log only one line when signing in;
- change level of UCI/init.d changes from info to verbose;
- change log level of network:getStatus message from info to verbose.
2016-02-23 17:36:17 +01:00
Wouter R b4aa1a9746 Wifibox stdout/stderr log file:
- rename 'wifibox.cgi-fallback.log' to 'wifibox.stdout.log'
- extend description of Lua debugging (and the fallback log)
- send fallback log along with info/logfiles request
2016-02-23 16:18:42 +01:00
Wouter R 97612c8a74 Reduce logging on start of request handling:
- change level of stasrtup message from info to verbose;
- Combine two request information log messages into one.
2016-02-23 13:47:17 +01:00
Wouter R 03e34f2676 'printer/print' API call: change 'first' parameter to 'clear' and deprecate old name. 2016-02-14 00:38:31 +01:00
Wouter R de16721b85 Accept argument 'total_lines' in printer/print API request. 2016-02-13 17:17:57 +01:00
Wouter R f3e9ebf26e Report current and maximum size in bytes of gcode buffer in getProgress functions. 2016-02-12 15:40:07 +01:00
Wouter R 4e1a7157ed Merge branch 'feature/chunk-checking' into feature/fixups-unify-log+chunk-checking 2016-02-05 15:39:33 +01:00
Wouter R b6ab64d1f2 Fix invalid log function calls. 2016-02-05 15:23:40 +01:00
Wouter R 6d001f4894 Extra description about debugging Lua issues in readme. 2016-02-05 15:16:36 +01:00
peteruithoven e384ac4782 Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop 2016-01-12 12:42:31 +01:00