Commit 652841ee authored by Liang Ding's avatar Liang Ding

[配合改造] Latke 加入动态代理

parent 890af73b
...@@ -89,10 +89,6 @@ ...@@ -89,10 +89,6 @@
<artifactId>slf4j-log4j12</artifactId> <artifactId>slf4j-log4j12</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -77,7 +77,7 @@ import org.jsoup.Jsoup; ...@@ -77,7 +77,7 @@ import org.jsoup.Jsoup;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class MetaWeblogAPI { public class MetaWeblogAPI {
/** /**
* Logger. * Logger.
......
...@@ -50,7 +50,7 @@ import org.jsoup.Jsoup; ...@@ -50,7 +50,7 @@ import org.jsoup.Jsoup;
* @since 0.5.5 * @since 0.5.5
*/ */
@RequestProcessor @RequestProcessor
public final class ArticleReceiver { public class ArticleReceiver {
/** /**
* Logger. * Logger.
......
...@@ -70,7 +70,7 @@ import org.json.JSONObject; ...@@ -70,7 +70,7 @@ import org.json.JSONObject;
* @since 0.5.5 * @since 0.5.5
*/ */
@RequestProcessor @RequestProcessor
public final class CommentReceiver { public class CommentReceiver {
/** /**
* Logger. * Logger.
......
...@@ -46,7 +46,7 @@ import org.json.JSONObject; ...@@ -46,7 +46,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class ArticleGenerator { public class ArticleGenerator {
/** /**
* Logger. * Logger.
......
...@@ -36,6 +36,7 @@ import org.b3log.latke.logging.Level; ...@@ -36,6 +36,7 @@ import org.b3log.latke.logging.Level;
import org.b3log.latke.logging.Logger; import org.b3log.latke.logging.Logger;
import org.b3log.latke.repository.RepositoryException; import org.b3log.latke.repository.RepositoryException;
import org.b3log.latke.service.LangPropsService; import org.b3log.latke.service.LangPropsService;
import org.b3log.latke.service.LangPropsServiceImpl;
import org.b3log.latke.service.ServiceException; import org.b3log.latke.service.ServiceException;
import org.b3log.latke.util.StaticResources; import org.b3log.latke.util.StaticResources;
import org.b3log.latke.util.Strings; import org.b3log.latke.util.Strings;
...@@ -137,7 +138,7 @@ public final class PageCacheFilter implements Filter { ...@@ -137,7 +138,7 @@ public final class PageCacheFilter implements Filter {
final LatkeBeanManager beanManager = Lifecycle.getBeanManager(); final LatkeBeanManager beanManager = Lifecycle.getBeanManager();
final ArticleQueryService articleQueryService = beanManager.getReference(ArticleQueryService.class); final ArticleQueryService articleQueryService = beanManager.getReference(ArticleQueryService.class);
final LangPropsService langPropsService = beanManager.getReference(LangPropsService.class); final LangPropsService langPropsService = beanManager.getReference(LangPropsServiceImpl.class);
try { try {
// If cached an article that has view password, dispatches the password form // If cached an article that has view password, dispatches the password form
......
...@@ -56,7 +56,7 @@ import org.json.JSONObject; ...@@ -56,7 +56,7 @@ import org.json.JSONObject;
* @since 0.6.0 * @since 0.6.0
*/ */
@RequestProcessor @RequestProcessor
public final class ChanceProcessor { public class ChanceProcessor {
/** /**
* Logger. * Logger.
......
...@@ -52,7 +52,7 @@ import org.json.JSONObject; ...@@ -52,7 +52,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class AdminCacheService { public class AdminCacheService {
/** /**
* Logger. * Logger.
......
...@@ -71,7 +71,7 @@ import org.jsoup.Jsoup; ...@@ -71,7 +71,7 @@ import org.jsoup.Jsoup;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class ArticleProcessor { public class ArticleProcessor {
/** /**
* Logger. * Logger.
......
...@@ -40,7 +40,7 @@ import org.json.JSONObject; ...@@ -40,7 +40,7 @@ import org.json.JSONObject;
* @since 0.4.6 * @since 0.4.6
*/ */
@RequestProcessor @RequestProcessor
public final class BlogProcessor { public class BlogProcessor {
/** /**
* Article query service. * Article query service.
......
...@@ -44,7 +44,7 @@ import org.json.JSONObject; ...@@ -44,7 +44,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class CacheProcessor { public class CacheProcessor {
/** /**
* Logger. * Logger.
......
...@@ -58,7 +58,7 @@ import org.b3log.solo.SoloServletListener; ...@@ -58,7 +58,7 @@ import org.b3log.solo.SoloServletListener;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class CaptchaProcessor { public class CaptchaProcessor {
/** /**
* Logger. * Logger.
......
...@@ -49,7 +49,7 @@ import org.json.JSONObject; ...@@ -49,7 +49,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class CommentProcessor { public class CommentProcessor {
/** /**
* Logger. * Logger.
......
...@@ -48,7 +48,7 @@ import org.json.JSONObject; ...@@ -48,7 +48,7 @@ import org.json.JSONObject;
* @since 0.4.5 * @since 0.4.5
*/ */
@RequestProcessor @RequestProcessor
public final class ErrorProcessor { public class ErrorProcessor {
/** /**
* Logger. * Logger.
......
...@@ -72,7 +72,7 @@ import org.json.JSONObject; ...@@ -72,7 +72,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class FeedProcessor { public class FeedProcessor {
/** /**
* Logger. * Logger.
......
...@@ -60,7 +60,7 @@ import org.json.JSONObject; ...@@ -60,7 +60,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class IndexProcessor { public class IndexProcessor {
/** /**
* Logger. * Logger.
......
...@@ -56,7 +56,7 @@ import org.json.JSONObject; ...@@ -56,7 +56,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class InitProcessor { public class InitProcessor {
/** /**
* Logger. * Logger.
......
...@@ -69,7 +69,7 @@ import org.json.JSONObject; ...@@ -69,7 +69,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class LoginProcessor { public class LoginProcessor {
/** /**
* Logger. * Logger.
......
...@@ -55,7 +55,7 @@ import org.json.JSONObject; ...@@ -55,7 +55,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class PageProcessor { public class PageProcessor {
/** /**
* Logger. * Logger.
......
...@@ -73,7 +73,7 @@ import org.json.JSONObject; ...@@ -73,7 +73,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class RepairProcessor { public class RepairProcessor {
/** /**
* Logger. * Logger.
......
...@@ -58,7 +58,7 @@ import org.json.JSONObject; ...@@ -58,7 +58,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class SitemapProcessor { public class SitemapProcessor {
/** /**
* Logger. * Logger.
......
...@@ -44,7 +44,7 @@ import org.b3log.solo.service.StatisticMgmtService; ...@@ -44,7 +44,7 @@ import org.b3log.solo.service.StatisticMgmtService;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class StatProcessor { public class StatProcessor {
/** /**
* Logger. * Logger.
......
...@@ -67,7 +67,7 @@ import org.json.JSONObject; ...@@ -67,7 +67,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
public final class TagProcessor { public class TagProcessor {
/** /**
* Logger. * Logger.
......
...@@ -64,7 +64,7 @@ import org.json.JSONObject; ...@@ -64,7 +64,7 @@ import org.json.JSONObject;
@RequestProcessor @RequestProcessor
// TODO: // TODO:
// 1. Removes preference.blogHost from repository // 1. Removes preference.blogHost from repository
public final class UpgradeProcessor { public class UpgradeProcessor {
/** /**
* Logger. * Logger.
......
...@@ -60,7 +60,7 @@ import org.json.JSONObject; ...@@ -60,7 +60,7 @@ import org.json.JSONObject;
* @since 0.4.5 * @since 0.4.5
*/ */
@RequestProcessor @RequestProcessor
public final class UserTemplateProcessor { public class UserTemplateProcessor {
/** /**
* Logger. * Logger.
......
...@@ -60,7 +60,7 @@ import org.json.JSONObject; ...@@ -60,7 +60,7 @@ import org.json.JSONObject;
* @since 0.4.1 * @since 0.4.1
*/ */
@RequestProcessor @RequestProcessor
public final class AdminConsole { public class AdminConsole {
/** /**
* Logger. * Logger.
......
...@@ -52,7 +52,7 @@ import org.json.JSONObject; ...@@ -52,7 +52,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class ArticleConsole { public class ArticleConsole {
/** /**
* Logger. * Logger.
......
...@@ -47,7 +47,7 @@ import org.json.JSONObject; ...@@ -47,7 +47,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class CommentConsole { public class CommentConsole {
/** /**
* Logger. * Logger.
......
...@@ -46,7 +46,7 @@ import org.json.JSONObject; ...@@ -46,7 +46,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class LinkConsole { public class LinkConsole {
/** /**
* Logger. * Logger.
......
...@@ -49,7 +49,7 @@ import org.json.JSONObject; ...@@ -49,7 +49,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class PageConsole { public class PageConsole {
/** /**
* Logger. * Logger.
......
...@@ -51,7 +51,7 @@ import org.json.JSONObject; ...@@ -51,7 +51,7 @@ import org.json.JSONObject;
*/ */
@RequestProcessor @RequestProcessor
@Before(adviceClass = ProcessAuthAdvice.class) @Before(adviceClass = ProcessAuthAdvice.class)
public final class PluginConsole { public class PluginConsole {
/** /**
* Logger. * Logger.
......
...@@ -48,7 +48,7 @@ import org.json.JSONObject; ...@@ -48,7 +48,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class PreferenceConsole { public class PreferenceConsole {
/** /**
* Logger. * Logger.
......
...@@ -47,7 +47,7 @@ import org.json.JSONObject; ...@@ -47,7 +47,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class TagConsole { public class TagConsole {
/** /**
* Logger. * Logger.
......
...@@ -48,7 +48,7 @@ import org.json.JSONObject; ...@@ -48,7 +48,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
public final class UserConsole { public class UserConsole {
/** /**
* Logger. * Logger.
......
...@@ -69,7 +69,7 @@ import org.json.JSONObject; ...@@ -69,7 +69,7 @@ import org.json.JSONObject;
* @since 0.3.1 * @since 0.3.1
*/ */
@Service @Service
public final class Filler { public class Filler {
/** /**
* Logger. * Logger.
......
...@@ -55,7 +55,7 @@ import org.json.JSONObject; ...@@ -55,7 +55,7 @@ import org.json.JSONObject;
* @since 0.3.5 * @since 0.3.5
*/ */
@Service @Service
public final class TopBars { public class TopBars {
/** /**
* Logger. * Logger.
......
...@@ -36,7 +36,7 @@ import org.json.JSONObject; ...@@ -36,7 +36,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class ArchiveDateQueryService { public class ArchiveDateQueryService {
/** /**
* Logger. * Logger.
......
...@@ -63,7 +63,7 @@ import org.json.JSONObject; ...@@ -63,7 +63,7 @@ import org.json.JSONObject;
* @since 0.3.5 * @since 0.3.5
*/ */
@Service @Service
public final class ArticleMgmtService { public class ArticleMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -69,7 +69,7 @@ import org.json.JSONObject; ...@@ -69,7 +69,7 @@ import org.json.JSONObject;
* @since 0.3.5 * @since 0.3.5
*/ */
@Service @Service
public final class ArticleQueryService { public class ArticleQueryService {
/** /**
* Logger. * Logger.
......
...@@ -60,7 +60,7 @@ import org.json.JSONObject; ...@@ -60,7 +60,7 @@ import org.json.JSONObject;
* @since 0.3.5 * @since 0.3.5
*/ */
@Service @Service
public final class CommentMgmtService { public class CommentMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -51,7 +51,7 @@ import org.json.JSONObject; ...@@ -51,7 +51,7 @@ import org.json.JSONObject;
* @since 0.3.5 * @since 0.3.5
*/ */
@Service @Service
public final class CommentQueryService { public class CommentQueryService {
/** /**
* Logger. * Logger.
......
...@@ -64,7 +64,7 @@ import org.json.JSONObject; ...@@ -64,7 +64,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class InitService { public class InitService {
/** /**
* Logger. * Logger.
......
...@@ -36,7 +36,7 @@ import org.json.JSONObject; ...@@ -36,7 +36,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class LinkMgmtService { public class LinkMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -41,7 +41,7 @@ import org.json.JSONObject; ...@@ -41,7 +41,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class LinkQueryService { public class LinkQueryService {
/** /**
* Logger. * Logger.
......
...@@ -35,7 +35,7 @@ import org.json.JSONObject; ...@@ -35,7 +35,7 @@ import org.json.JSONObject;
* @since 0.6.0 * @since 0.6.0
*/ */
@Service @Service
public final class OptionMgmtService { public class OptionMgmtService {
/** /**
* Option repository. * Option repository.
......
...@@ -38,7 +38,7 @@ import org.json.JSONObject; ...@@ -38,7 +38,7 @@ import org.json.JSONObject;
* @since 0.6.0 * @since 0.6.0
*/ */
@Service @Service
public final class OptionQueryService { public class OptionQueryService {
/** /**
* Option repository. * Option repository.
......
...@@ -46,7 +46,7 @@ import org.json.JSONObject; ...@@ -46,7 +46,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PageMgmtService { public class PageMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -41,7 +41,7 @@ import org.json.JSONObject; ...@@ -41,7 +41,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PageQueryService { public class PageQueryService {
/** /**
* Logger. * Logger.
......
...@@ -36,7 +36,7 @@ import org.b3log.solo.repository.PageRepository; ...@@ -36,7 +36,7 @@ import org.b3log.solo.repository.PageRepository;
* @since 0.6.1 * @since 0.6.1
*/ */
@Service @Service
public final class PermalinkQueryService { public class PermalinkQueryService {
/** /**
* Logger. * Logger.
......
...@@ -47,7 +47,7 @@ import org.json.JSONObject; ...@@ -47,7 +47,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PluginMgmtService { public class PluginMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -42,7 +42,7 @@ import org.json.JSONObject; ...@@ -42,7 +42,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PluginQueryService { public class PluginQueryService {
/** /**
* Logger. * Logger.
......
...@@ -62,7 +62,7 @@ import static org.b3log.solo.util.Skins.setDirectoryForTemplateLoading; ...@@ -62,7 +62,7 @@ import static org.b3log.solo.util.Skins.setDirectoryForTemplateLoading;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PreferenceMgmtService { public class PreferenceMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -35,7 +35,7 @@ import org.json.JSONObject; ...@@ -35,7 +35,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class PreferenceQueryService { public class PreferenceQueryService {
/** /**
* Logger. * Logger.
......
...@@ -58,7 +58,7 @@ import org.json.JSONException; ...@@ -58,7 +58,7 @@ import org.json.JSONException;
* @since 0.5.0 * @since 0.5.0
*/ */
@Service @Service
public final class StatisticMgmtService { public class StatisticMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -36,7 +36,7 @@ import org.json.JSONObject; ...@@ -36,7 +36,7 @@ import org.json.JSONObject;
* @since 0.5.0 * @since 0.5.0
*/ */
@Service @Service
public final class StatisticQueryService { public class StatisticQueryService {
/** /**
* Logger. * Logger.
......
...@@ -39,7 +39,7 @@ import org.json.JSONObject; ...@@ -39,7 +39,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class TagMgmtService { public class TagMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -40,7 +40,7 @@ import org.json.JSONObject; ...@@ -40,7 +40,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class TagQueryService { public class TagQueryService {
/** /**
* Logger. * Logger.
......
...@@ -50,7 +50,7 @@ import org.json.JSONObject; ...@@ -50,7 +50,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class UserMgmtService { public class UserMgmtService {
/** /**
* Logger. * Logger.
......
...@@ -48,7 +48,7 @@ import org.json.JSONObject; ...@@ -48,7 +48,7 @@ import org.json.JSONObject;
* @since 0.4.0 * @since 0.4.0
*/ */
@Service @Service
public final class UserQueryService { public class UserQueryService {
/** /**
* Logger. * Logger.
......
...@@ -32,6 +32,7 @@ import org.b3log.latke.ioc.Lifecycle; ...@@ -32,6 +32,7 @@ import org.b3log.latke.ioc.Lifecycle;
import org.b3log.latke.logging.Level; import org.b3log.latke.logging.Level;
import org.b3log.latke.logging.Logger; import org.b3log.latke.logging.Logger;
import org.b3log.latke.service.LangPropsService; import org.b3log.latke.service.LangPropsService;
import org.b3log.latke.service.LangPropsServiceImpl;
import org.b3log.latke.service.ServiceException; import org.b3log.latke.service.ServiceException;
import org.b3log.latke.util.Locales; import org.b3log.latke.util.Locales;
import org.b3log.latke.util.Stopwatchs; import org.b3log.latke.util.Stopwatchs;
...@@ -113,7 +114,7 @@ public final class Skins { ...@@ -113,7 +114,7 @@ public final class Skins {
// Fills the core language configurations // Fills the core language configurations
final LatkeBeanManager beanManager = Lifecycle.getBeanManager(); final LatkeBeanManager beanManager = Lifecycle.getBeanManager();
final LangPropsService langPropsService = beanManager.getReference(LangPropsService.class); final LangPropsService langPropsService = beanManager.getReference(LangPropsServiceImpl.class);
dataModel.putAll(langPropsService.getAll(Latkes.getLocale())); dataModel.putAll(langPropsService.getAll(Latkes.getLocale()));
} catch (final IOException e) { } catch (final IOException e) {
......
...@@ -20,6 +20,7 @@ import com.google.appengine.tools.development.testing.LocalServiceTestHelper; ...@@ -20,6 +20,7 @@ import com.google.appengine.tools.development.testing.LocalServiceTestHelper;
import java.util.Locale; import java.util.Locale;
import org.b3log.latke.Latkes; import org.b3log.latke.Latkes;
import org.b3log.latke.service.LangPropsService; import org.b3log.latke.service.LangPropsService;
import org.b3log.latke.service.LangPropsServiceImpl;
import org.b3log.solo.repository.ArchiveDateArticleRepository; import org.b3log.solo.repository.ArchiveDateArticleRepository;
import org.b3log.solo.repository.ArchiveDateRepository; import org.b3log.solo.repository.ArchiveDateRepository;
import org.b3log.solo.repository.ArticleRepository; import org.b3log.solo.repository.ArticleRepository;
...@@ -54,7 +55,7 @@ import org.testng.annotations.BeforeClass; ...@@ -54,7 +55,7 @@ import org.testng.annotations.BeforeClass;
* Abstract test case. * Abstract test case.
* *
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.0.6, Apr 19, 2013 * @version 1.0.0.7, Jul 8, 2013
* @see #beforeClass() * @see #beforeClass()
* @see #afterClass() * @see #afterClass()
*/ */
...@@ -280,7 +281,7 @@ public abstract class AbstractTestCase { ...@@ -280,7 +281,7 @@ public abstract class AbstractTestCase {
optionRepository = new OptionRepositoryImpl(); optionRepository = new OptionRepositoryImpl();
// Services // Services
langPropsService = new LangPropsService(); langPropsService = new LangPropsServiceImpl();
pluginMgmtService = new PluginMgmtService(); pluginMgmtService = new PluginMgmtService();
pluginMgmtService.setPluginRepository(pluginRepository); pluginMgmtService.setPluginRepository(pluginRepository);
......
#
# Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Description: B3log Solo logging configurations for tesing.
# Version: 1.0.0.0, Jul 8, 2013
# Author: Liang Ding
#
log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%-5p]-[%d{yyyy-MM-dd HH:mm:ss}]-[%c:%L]: %m%n
log4j.logger.org.b3log.solo=DEBUG
log4j.logger.org.b3log.latke=DEBUG
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment