Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs showing module path with a quadruple colons (::::) #18859

Closed
seanmonstar opened this issue Nov 10, 2014 · 1 comment · Fixed by #19262
Closed

logs showing module path with a quadruple colons (::::) #18859

seanmonstar opened this issue Nov 10, 2014 · 1 comment · Fixed by #19262
Labels
A-syntaxext Area: Syntax extensions

Comments

@seanmonstar
Copy link
Contributor

I'm seeing things like this:

DEBUG:hyper::::http: method = GET
DEBUG:hyper::::http: uri buf = /
DEBUG:hyper::::http: uri = AbsolutePath(/)
DEBUG:hyper::::http: version = HTTP/1.1

Those used to be hyper::http. My first guess is something changed in module_path! that handles crates different from modules?

@Siosm
Copy link
Contributor

Siosm commented Nov 17, 2014

Example code to reproduce the issue:

#![feature(phase)]
#[phase(plugin, link)] extern crate log;

mod test {
    pub fn test() {
        info!("test");
    }
}

fn main() {
    let ret = 3i;
    info!("this function is about to return: {}", ret);
    test::test();
}

And output:

$ RUST_LOG=logtest=debug cargo run
     Running `target/logtest`
INFO:logtest::: this function is about to return: 3
INFO:logtest::::test: test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-syntaxext Area: Syntax extensions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants