Replies: 2 comments 17 replies
-
That shouldn't be. Please post your BSB_LAN_config.h file and your web configuration. Please also post a log file of the serial monitor when this error occurs. Otherwise, it won't be possible to help you. |
Beta Was this translation helpful? Give feedback.
16 replies
-
Right now i have only one idea: overflow. Looks like function return 0 when
SD card is absent and non-zero for used space.
By the way log_parameters can be increased without any efforts because all
depending values in program will be changed automatically.
fredlcore ***@***.***> 24 марта 2022 г. 19:03:54 написал:
…
That is really weird. All this setting does is changing the output stream
from Serial to a network stream. There is no difference in code and no
messages are written to file. If you are next time at the location where
BSB-LAN is running, could you do me one favor please?
In BSB_LAN.ino, please search for this line: if (logCurrentValues &&
freespace > MINIMUM_FREE_SPACE_ON_SD) {
It should be around line 6564 in current code.
Right after that line please add these three
lines:Serial.println(logCurrentValues);
Serial.println(freespace);
Serial.println(MINIMUM_FREE_SPACE_ON_SD);
And change back to Serial output and see if this error occurs again and
what the Serial output then is.
@dukess, do you have any idea why this could change things?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MattsBos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Figured I would just ask it in here, I've searched through the documentation but can't really find an option to disable logging to file.
I need to turn logging on for MQTT but don't need logging to file.
I keep getting the following in my webbrowser 80% of the time I try to access a page and it gets annoying really quickly!
`Error opening datalog.txt!
`Error opening datalog.txt!
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Beta Was this translation helpful? Give feedback.
All reactions