open("log.txt", "w") do f write(f," Hello, text file!")end
or
julia your-script.jl > log.txt
depending on how you invoke your Julia code and what you mean by "console output".
// T