TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you deal with application logging in a web service?

1 pointsby acolyticalmost 7 years ago
I work for a large company that has an internal logging environment and I&#x27;m trying to figure out what the external equivalent is. Basically, I want to add logging statements throughout my app, I want those statements to get pushed to some external store and I want to query that store later (ideally using a UI but SQL might work as well). I would like access to that store within minutes and I doubt the amount of data will be significant at least for now. I&#x27;m building a python (flask) app if that changes anything.<p>The solutions I&#x27;ve considered are DataDog and AppDynamics but they seem to focus on the server health instead of the application logs which is what I want.<p>I would prefer not to build my own solution here. Is this a solved problem?

3 comments

remhalmost 7 years ago
Datadog can definitely ingest application logs (you can send any tail any log file and send it to DD).
mtmailalmost 7 years ago
We used to push application logs to <a href="https:&#x2F;&#x2F;logentries.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;logentries.com&#x2F;</a> &quot;With our free plan you can send up to 5 GB of data per month and store the last 7 days of data. The free product is available at the end of your unlimited 30 day trial.&quot;<p><a href="https:&#x2F;&#x2F;www.splunk.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.splunk.com&#x2F;</a> allows 500MB&#x2F;day free.
757362almost 7 years ago
Four key considerations to logging approach in PHP, Python, or Ruby <a href="https:&#x2F;&#x2F;www.loggly.com&#x2F;blog&#x2F;four-key-considerations-guide-logging-approach-php-python-ruby&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.loggly.com&#x2F;blog&#x2F;four-key-considerations-guide-lo...</a><p>Symfony is a PHP framework <a href="https:&#x2F;&#x2F;github.com&#x2F;symfony&#x2F;symfony" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;symfony&#x2F;symfony</a><p>Symfony Using the Logger <a href="https:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;components&#x2F;console&#x2F;logger.html#index-0" rel="nofollow">https:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;components&#x2F;console&#x2F;logger.ht...</a><p>YII 2.0 LOGGING AND PSR-3 <a href="https:&#x2F;&#x2F;en.rmcreative.ru&#x2F;blog&#x2F;yii-2.0-logging-and-psr-3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;en.rmcreative.ru&#x2F;blog&#x2F;yii-2.0-logging-and-psr-3&#x2F;</a><p>Yii 2.0 log target that is able to write messages to PSR-3 compatible logger <a href="https:&#x2F;&#x2F;github.com&#x2F;samdark&#x2F;yii2-psr-log-target" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;samdark&#x2F;yii2-psr-log-target</a><p>APIx Log, very thin PSR-3 logger <a href="https:&#x2F;&#x2F;github.com&#x2F;apix&#x2F;log" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apix&#x2F;log</a><p>4 Node.js Logging libraries which make sophisticated logging simpler <a href="https:&#x2F;&#x2F;www.loggly.com&#x2F;blog&#x2F;node-js-libraries-make-sophisticated-logging-simpler&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.loggly.com&#x2F;blog&#x2F;node-js-libraries-make-sophistic...</a><p>Github: psr-3 <a href="https:&#x2F;&#x2F;github.com&#x2F;topics&#x2F;psr-3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;topics&#x2F;psr-3</a><p>cutelog – GUI for Python&#x27;s logging module <a href="https:&#x2F;&#x2F;github.com&#x2F;Busimus&#x2F;cutelog" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Busimus&#x2F;cutelog</a><p>Python Logging Cookbook <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;howto&#x2F;logging-cookbook.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;howto&#x2F;logging-cookbook.html</a>
评论 #17211806 未加载