Is this initiative useful for you?

Make a paypal donation or get your movable type project done with PRO IT Service - The Excellence In Web Development.

We're the right people for movable type consultancy services including: installations, upgrades, themes, templates, consulting, troubleshooting as well as hosting.

The complete range of movable type services you might be looking for!

This is a personal website and doesn't have anything to do with Six Apart nevertheless Chris Alden, the former Six Apart CEO, appreciated my idea when he saw it available online.

September 2016 Archives

Movable Type v6.3.2

user-pic
Vote 0 Votes

On September 26th, 2016, Six Apart launched movable type v6.3.2.

This version includes a number of fixes for the assets, entry and page objects, server sync and dynamic publishing as well as new features related to logging (the ability to output a log file on demand and new configuration directives for it).

NEW AND IMPROVED FUNCTIONS

Output a log file on demand

In this newest version, Movable Type is able to output the activity log to an external file on demand. Of course, output of the CSV file from the activity log listing screen is also available. This feature make it possible to monitor the activity log easily and detect system errors and security issues.

Also, it is possible to control the log output in accordance with the log level. This means you can control logs by production server or development server.

Logging Level

The log levels now supported are debug, info, warn and error. debug outputs the most information from the log,error is the most minimal. You can specify the logging level by using the LoggerLevel configuration directive in the mt-config.cgi configuration file.

debug
A large amount of the log is output. Movable Type does not use the `debug` logging level, but some plugins are using it. If this level is set as the LoggerLevel, the external log file contains all types of log entries. This level is recommended for a development server.
info
A log at this level is just information such as sign-in's, sign-out's, and creating new entries. If this level is set as the LoggerLevel, the external log file contains `error`, `warn` and `info` level log entries.
warn
This log is a kind of error but it does not impact the running of Movable Type. However, it is better if you check the `warn` log entries because an abnormal situation has occurred.
error
This log is recorded in the case of issues affecting the system. For example, when writing to the database or to the file system has failed, or when security issues have occurred.
Also, an `error` will be recorded in the case of a security risk such as a sign-in failure.

Log file

The log file that is named al-yyyymmdd.log will be output in the directory that is specified by LoggerPath configuration directive. (yyyymmdd will replaced with server date)

Logger modules

Currently, Movable Type supports the Log::Log4perl and Log::Minimal perl modules. Movable Type will detect available modules automatically. If no module is installed and available, the log file will not output. However, you can specify the name of a logging perl module in the LoggerModule configuration directive such as Log4perl, Minimal or any module name that is added a plugin. For example:

LoggerModule Your::Plugin::Log

Develop a custom logger

You can make a custom logger that uses another logger module, or output to Slack or something else, for example. Your custom logger module should inherit MT::Util::Log and should implement debug, info, warn and error methods.

The basic code sample is here:

package Your::Plugin::Log;
use strict;
use warnings;
use MT;
use base qw(MT::Util::Log);

sub new {
    my ( $self, $level, $file ) = @_;

    # do something

    return $self;
}

sub debug {
    my ( $class, $msg ) = @_;

    # do something
}

sub info {
    my ( $class, $msg ) = @_;

    # do something
}

sub warn {
    my ( $class, $msg ) = @_;

    # do something
}

sub error {
    my ( $class, $msg ) = @_;

    # do something
}

1;

NEW CONFIGURATION DIRECTIVES

LoggerLevel (none | debug | info | warn | error)

Define a log level which log will be output. debug outputs the most log entries,error is the most minimal. If specifies none or did not specifies any value, the log will not be output.

default: none

LoggerPath

Define a path to output directory for log file. If not set, the log will not be output. By default, LoggerPath is not defined.

LoggerModule

Define a logger module. By default Log4perl and Minimal are available. Also, if you have custom logger module that is added by a plugin, you can specify module name like: Your::Plugin::Log

default: Log4perl

RESOLVED ISSUES

Asset

  • Revised input validation for an upload path. Now validation error will occur when entered path contains invalid character for the URL. (#114155)
  • Asset insertion dialog now works when you turn off checkbox on a dialog. (#114123)

Entry and page

  • Text word wrapping now works when TinyMCE is disabled on system level. (#113312)

Server Sync

  • “Sync Now” function now works when you remove directories on a sync source server. (#114131)

Dynamic Publishing

  • Custom Fields html generating now works. (#114148)

Remember that you could try this new version from:

http://www.movabletypedemo.org/v6x/cgi-bin/mt/mt.cgi

By logging in using:

- username: demo

- password: testthis

Enjoy!

Services

We would love to work on any movable type jobs you might have! To find out more about the movable type services we're offering click here.

You may like to know that we're offering a broad range of web development services as well as professional website hosting service in partnership with Pair Networks, Inc. from Pittsburgh, PA, USA.

Check out everything we're proudly doing by visiting http://www.pro-it-service.com/

Newsletter

Would you like to be updated every time there is a movable type release? If you do, then subscribe for email updates filling out the form below.

Subscribe

Delivered by FeedBurner

Open Melody

Did you know that "open melody" is a new, open source CMS meant to continue the development from movable type v4.x series?

We've established an absolutely free evaluation service for you to check this product.

Open Melody

http://www.openmelodydemo.org/

@ PRO IT Service we are offering a full range of movable type and open melody services!

  • Facebook
  • Twitter
  • Elsewhere