roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r372766 - in /incubator/roller/trunk/src/org/roller/presentation/xmlrpc: BloggerAPIHandler.java MetaWeblogAPIHandler.java
Date Fri, 27 Jan 2006 06:11:30 GMT
Author: agilliland
Date: Thu Jan 26 22:11:24 2006
New Revision: 372766

URL: http://svn.apache.org/viewcvs?rev=372766&view=rev
Log:
switching log messages to debug level.


Modified:
    incubator/roller/trunk/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java
    incubator/roller/trunk/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java

Modified: incubator/roller/trunk/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java?rev=372766&r1=372765&r2=372766&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java Thu Jan
26 22:11:24 2006
@@ -61,10 +61,10 @@
     public boolean deletePost(String appkey, String postid, String userid,
                             String password, boolean publish) throws Exception {
         
-        mLogger.info("deletePost() Called =====[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     PostId: " + postid);
-        mLogger.info("     UserId: " + userid);
+        mLogger.debug("deletePost() Called =====[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     PostId: " + postid);
+        mLogger.debug("     UserId: " + userid);
         
         Roller roller = RollerFactory.getRoller();
         WeblogManager weblogMgr = roller.getWeblogManager();
@@ -103,12 +103,12 @@
                                 String password, String templateData,
                                 String templateType) throws Exception {
         
-        mLogger.info("setTemplate() Called =====[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("   Template: " + templateData);
-        mLogger.info("       Type: " + templateType);
+        mLogger.debug("setTemplate() Called =====[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("   Template: " + templateData);
+        mLogger.debug("       Type: " + templateType);
         
         validate(blogid, userid, password);
         
@@ -150,11 +150,11 @@
                                 String password, String templateType)
             throws Exception {
         
-        mLogger.info("getTemplate() Called =====[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("       Type: " + templateType);
+        mLogger.debug("getTemplate() Called =====[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("       Type: " + templateType);
         
         validate(blogid, userid,password);
         
@@ -188,9 +188,9 @@
     public Object getUserInfo(String appkey, String userid, String password)
             throws Exception {
         
-        mLogger.info("getUserInfo() Called =====[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     UserId: " + userid);
+        mLogger.debug("getUserInfo() Called =====[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     UserId: " + userid);
         
         validateUser(userid, password);
         
@@ -249,9 +249,9 @@
     public Object getUsersBlogs(String appkey, String userid, String password)
             throws Exception {
         
-        mLogger.info("getUsersBlogs() Called ===[ SUPPORTED ]=======");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     UserId: " + userid);
+        mLogger.debug("getUsersBlogs() Called ===[ SUPPORTED ]=======");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     UserId: " + userid);
         
         Vector result = new Vector();
         if (validateUser(userid, password)) {
@@ -299,12 +299,12 @@
                             String password, String content, boolean publish)
             throws Exception {
         
-        mLogger.info("editPost() Called ========[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     PostId: " + postid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("    Publish: " + publish);
-        mLogger.info("     Content:\n " + content);
+        mLogger.debug("editPost() Called ========[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     PostId: " + postid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("    Publish: " + publish);
+        mLogger.debug("     Content:\n " + content);
         
         if (validateUser(userid, password)) {
             try {
@@ -351,12 +351,12 @@
                             String password, String content, boolean publish)
             throws Exception {
         
-        mLogger.info("newPost() Called ===========[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("    Publish: " + publish);
-        mLogger.info("    Content:\n " + content);
+        mLogger.debug("newPost() Called ===========[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("    Publish: " + publish);
+        mLogger.debug("    Content:\n " + content);
         
         WebsiteData website = validate(blogid, userid,password);
         
@@ -426,11 +426,11 @@
                                     String password, int numposts)
             throws Exception {
         
-        mLogger.info("getRecentPosts() Called ===========[ SUPPORTED ]=====");
-        mLogger.info("     Appkey: " + appkey);
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("     Number: " + numposts);
+        mLogger.debug("getRecentPosts() Called ===========[ SUPPORTED ]=====");
+        mLogger.debug("     Appkey: " + appkey);
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("     Number: " + numposts);
         
         WebsiteData website = validate(blogid, userid,password);
         

Modified: incubator/roller/trunk/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java?rev=372766&r1=372765&r2=372766&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java Thu
Jan 26 22:11:24 2006
@@ -60,9 +60,9 @@
     public Object getCategories(String blogid, String userid, String password)
             throws Exception {
         
-        mLogger.info("getCategories() Called =====[ SUPPORTED ]=====");
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
+        mLogger.debug("getCategories() Called =====[ SUPPORTED ]=====");
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
         
         WebsiteData website = validate(blogid, userid,password);
         RollerRequest rreq = RollerRequest.getRollerRequest();
@@ -106,10 +106,10 @@
     public boolean editPost(String postid, String userid, String password,
             Hashtable struct, boolean publish) throws Exception {
         
-        mLogger.info("editPost() Called ========[ SUPPORTED ]=====");
-        mLogger.info("     PostId: " + postid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("    Publish: " + publish);
+        mLogger.debug("editPost() Called ========[ SUPPORTED ]=====");
+        mLogger.debug("     PostId: " + postid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("    Publish: " + publish);
         
         Roller roller = RollerFactory.getRoller();
         WeblogManager weblogMgr = roller.getWeblogManager();
@@ -130,8 +130,8 @@
             Vector cats = (Vector)postcontent.get("categories");
             cat = (String)cats.elementAt(0);
         }
-        mLogger.info("      Title: " + title);
-        mLogger.info("   Category: " + cat);
+        mLogger.debug("      Title: " + title);
+        mLogger.debug("   Category: " + cat);
         
         try {
             
@@ -195,10 +195,10 @@
     public String newPost(String blogid, String userid, String password, 
                             Hashtable struct, boolean publish) throws Exception {
         
-        mLogger.info("newPost() Called ===========[ SUPPORTED ]=====");
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("    Publish: " + publish);
+        mLogger.debug("newPost() Called ===========[ SUPPORTED ]=====");
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("    Publish: " + publish);
         
         WebsiteData website = validate(blogid, userid, password);
         
@@ -219,8 +219,8 @@
                 cat = (String)cats.elementAt(0);
             }
         }
-        mLogger.info("      Title: " + title);
-        mLogger.info("   Category: " + cat);
+        mLogger.debug("      Title: " + title);
+        mLogger.debug("   Category: " + cat);
         
         try {
             Roller roller = RollerFactory.getRoller();
@@ -281,9 +281,9 @@
     public Object getPost(String postid, String userid, String password)
             throws Exception {
         
-        mLogger.info("getPost() Called =========[ SUPPORTED ]=====");
-        mLogger.info("     PostId: " + postid);
-        mLogger.info("     UserId: " + userid);
+        mLogger.debug("getPost() Called =========[ SUPPORTED ]=====");
+        mLogger.debug("     PostId: " + postid);
+        mLogger.debug("     UserId: " + userid);
         
         Roller roller = RollerFactory.getRoller();
         WeblogManager weblogMgr = roller.getWeblogManager();
@@ -370,10 +370,10 @@
     public Object getRecentPosts(String blogid, String userid, String password, 
                                     int numposts) throws Exception {
         
-        mLogger.info("getRecentPosts() Called ===========[ SUPPORTED ]=====");
-        mLogger.info("     BlogId: " + blogid);
-        mLogger.info("     UserId: " + userid);
-        mLogger.info("     Number: " + numposts);
+        mLogger.debug("getRecentPosts() Called ===========[ SUPPORTED ]=====");
+        mLogger.debug("     BlogId: " + blogid);
+        mLogger.debug("     UserId: " + userid);
+        mLogger.debug("     Number: " + numposts);
         
         WebsiteData website = validate(blogid, userid,password);
         



Mime
View raw message