# Is there a simple way to get the logging macros to print timestamps?i.e.\`\`\`julia

**URL:** <https://discourse.julialang.org/t/is-there-a-simple-way-to-get-the-logging-macros-to-print-timestamps-i-e-julia/57472>\
**Category:** General Usage\
**Created:** [March 18, 2021, 1:12pm UTC](https://discourse.julialang.org/t/is-there-a-simple-way-to-get-the-logging-macros-to-print-timestamps-i-e-julia/57472 "2021-03-18T13:12:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [March 18, 2021, 1:12pm UTC](https://discourse.julialang.org/t/is-there-a-simple-way-to-get-the-logging-macros-to-print-timestamps-i-e-julia/57472/1 "2021-03-18T13:12:08Z")

</div>

Is there a simple way to get the logging macros to print timestamps?  
i.e.

```julia
julia&gt; @info "hello"
2021-03-18T09:08:24.462 [ Info: hello

```

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1616072820096600?thread_ts=1616072820.096600&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![ianshmean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ianshmean/32/216042_2.png) [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Post date:** [March 18, 2021, 1:12pm UTC](https://discourse.julialang.org/t/is-there-a-simple-way-to-get-the-logging-macros-to-print-timestamps-i-e-julia/57472/2 "2021-03-18T13:12:37Z")

</div>

[https://github.com/oxinabox/LoggingExtras.jl#add-timestamp-to-all-logging](https://github.com/oxinabox/LoggingExtras.jl#add-timestamp-to-all-logging)
