Log maximum size

What is the maximum data the log can store?

I have a project where I’d be storing some data into the log (not into the file due to file size limitation od 4096 byte).