Sometimes it might be useful to paste the content of a log file related to a question. If the part of the log a short one the markdown for code might be good enough to embed the text into the question:
Logfile line 1 line 2 line 3 ...
But what should be used for log files that have hundreds of lines that could be relevant to answer a question?
- Should I upload the file somewhere?
- Should I use a service like pastebin.com? If yes, is there something similar for the Ubuntu community?
- Should I paste it as code anyway?