1 min
IT Ops
Per-log retention period
Typically, you would like to keep logs from development environment (with all
debugging messages enabled) for only a limited amount of time, while production
logs far longer. Up to now you had to set the retention period for the whole
account, keeping development logs longer than needed. We are happy to announce
per-log retention configuration! It gives you the option to fine-tune your
retention policy in a more fine-grained manner than with a default per-account
setting. To set a new log retent
2 min
IT Ops
Getting terminal colors right
As a part of our work on ANSI escape code coloring, I looked in detail at
default colors used in different command line terminals. It appears form the
Wikipedia article [https://en.wikipedia.org/wiki/ANSI_escape_code] that colors
are set at their brightest level with minor variances across implementations:
[/content/images/le-img/2012/11/pals.png]
Adapting these color schemes gives the result as in the following picture:
[/content/images/le-img/2012/11/lumi0.png]
If you try to read the te
1 min
IT Ops
Feature requests
There are so many thing we can do with logs. We have a pile of new ideas on how
to make Logentries better and we spend time implementing these every single day.
We also collect feature requests from you, our lovely users. But we want to do
more – we want to include you to the whole process of future development.
We are happy to announce our Feature requests page, a page that enables you to
add new feature requests, vote on them, and add comments with more details.
Access the page from the sideb
2 min
IT Ops
Cooking up Engine Yard logs with Chef
Opscode’s Chef is an open-source automation framework for the cloud, involving
‘recipes’ that can be triggered by events such as servers booting or restarting.
Chef scripts are written in Ruby, but will often use OS-specific system calls to
manipulate server instances. Chef is a great way to automate your cloud, and in
particular it’s useful as your environment grows! On Engine Yard, Chef recipes
can also be used to configure add-ons (like Logentries) on your servers, as we
will explain…
Each s
0 min
IT Ops
Focus on the first input element in jQuery
Just in case you want to focus on the first element in a form, here is how to do
it through one simple jQuery sector:
$('#form-id :input:enabled:visible:first').focus();
Once you select the right form (#form-id), it’s time to specify any input
elements including text areas (:input) which are editable (:enabled), visible
(:visible), and first in the form (:first).
4 min
IT Ops
How do I know if my Heroku app is slow?
So you’ve written a nice new Heroku app and have tested it thoroughly – it seems
really fast – yay!!! And what do I mean by thoroughly… so you tried out all the
functionality, everything works as you’ve expected, and the response time seems
A-ok!
Well at least it seems ok when there’s one request at a time…. but you wonder
what happens when you go live and the floodgates open… what is the response time
going to be like then and how will you know what your users are experiencing?
Thanks for Swe
1 min
IT Ops
Direct downloads
We are happy to announce a publicly available beta of direct downloads. Now you
can download any part of your log stream with literally one click!
We have provided a new button which you can see on the right side of the Log
screen. Click on the download icon to start the download immediately.
[/content/images/le-img/2012/06/download.png]
You can configure different download options also. Specify whether you want to
download log entries in plain text or if they should be compressed first. You
7 min
IT Ops
Digging into Engine Yard Logs
I’ve recently been playing with a number of PAAS platforms, and its bringing me
back somewhat to my days toying with J2EE application servers, JDBC drivers,
Relational DBs etc. Oh how I remember deploying servers and databases and then
checking out my shiny new application, remember the J2EE petstore
[http://java.sun.com/developer/releases/petstore/] anyone?? 🙂
However the big difference with PAAS, over old school application servers is
that you do not need to spend a few days configuring them
3 min
IT Ops
Caching AJAX Responses in JavaScript
Ajax is a great tool for creating responsive dynamic web pages. Although Ajax
updates are usually much faster than page reloads, there is still considerable
delay when considering Ajax for pages that require real-time responses (content
updating in real time).
This gets even more complicated in fully dynamic user interfaces. Interfaces
structured within web pages with URLs that allow for anchor and back button
navigation and which require real time updating, in particular, can suffer from
repea
2 min
IT Ops
Stronger Passwords for Django
One of our main concerns is data security. While we can do our best to protect
our service against external threats, a weak account password posses the easiest
attack vector. We are all human and sometimes we don’t even realize how
vulnerable our (supposedly strong) password is to a dictionary-based attack.
We use Django [http://www.djangoproject.com/] internally. Let us share with you
how we hard-ended our account registration process to automatically check for
weak passwords and give our user