How to get google app engine logs in C#?

Posted by Max on Stack Overflow See other posts from Stack Overflow or by Max
Published on 2010-06-12T15:51:26Z Indexed on 2010/06/12 17:23 UTC
Read the original article Hit count: 137

Filed under:
|

I am trying to retrieve app engine logs the only result I get is "# next_offset=None", below is my code:

    internal string GetLogs()
    {

        string result = _connection.Get("/api/request_logs", GetPostParameters(null));
        return result;
    }
    private Dictionary<string, string> GetPostParameters(Dictionary<string, string> customParameters)
    {
        Dictionary<string, string> parameters = new Dictionary<string, string>() { 
                                                                                    { "app_id", _settings.AppId }, 
                                                                                    { "version", _settings.Version.ToString() } 
                                                                                 };
        if (customParameters != null)
        {
            foreach (string key in customParameters.Keys)
            {
                if (parameters.ContainsKey(key))
                {
                    parameters[key] = customParameters[key];
                }
                else
                {
                    parameters.Add(key, customParameters[key]);
                }
            }
        }

        return parameters;
    }

© Stack Overflow or respective owner

Related posts about c#

Related posts about google-app-engine